Category "android-gradle-plugin"

How to access variant.outputFileName in Kotlin

We've been using a snippet like this one to rename the APK file generated by our Gradle build: android.applicationVariants.all { variant -> variant.outp

Multidex issue with Flutter

I'm getting the following error compiling with gradle using Flutter in Android Studio: Dex: Error converting bytecode to dex: Cause: com.android.dex.DexExcepti

Where is the documentation for build.gradle's `android` block?

In a build.gradle, we have the android block. From my limited understanding of Android Gradle Plugin (and Groovy/ Kotlin), this is a method/ (or function?) call

Gradle - Error Could not find method implementation() for arguments [com.android.support:appcompat-v7:26.0.0]

I am trying to open existing android project in android studio and it gradle cannot build the app without the error Error android studio keeps on throwing Err

What does mean these errors in Gradle?

I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors: Execution failed for task ':app:processProDebugResources'. > Could

What does mean these errors in Gradle?

I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors: Execution failed for task ':app:processProDebugResources'. > Could

How to fix "unexpected element <queries> found in <manifest>" error?

All of a sudden, I am getting this build error in my Android project: unexpected element <queries> found in <manifest> How do I fix it?

gradle ASCII: A problem occurred evaluating project ':app'

Friday gradle works fine, today I got this gradle error: * Where: Build file '...\git\project\app\build.gradle' line: 1 * What went wrong: A problem occurred e

gradle ASCII: A problem occurred evaluating project ':app'

Friday gradle works fine, today I got this gradle error: * Where: Build file '...\git\project\app\build.gradle' line: 1 * What went wrong: A problem occurred e

What are all the changes to apk by AGP 7.1.0?

I have just upgraded Android Studio from Arctic Fox to Bumblebee and AGP from 7.0.4 to 7.1.0 The project currently has: The apk generated by gradle task assem

Android Studio 2.3 error: "Gradle sync failed: Cause: services.gradle.org"

After I open a new project in Android Studio 2.3, I receive an error such as: Gradle sync failed: Cause: services.gradle.org Googling just gave me a log f

React Native : Error: Duplicate resources - Android

I was trying to create a release apk file from Android but when I create a release apk with PNG image I'm getting Duplicate Resource error. Initially I thought

Android giving Unknown constant tag 85 in class file

I was working in the android studio all thing were fine until it gives me a sudden error which I have no idea how to fix it. A problem occurred evaluating pro

App isn't building after update Firebase Performance SDK

After update classpath 'com.android.tools.build:gradle:3.5.3' to classpath 'com.android.tools.build:gradle:3.6.1' Getting compile errors below.... Caused by: o

How Do I Solve Android Gradle Plugin Error On Android Studio 3.1.1?

I upgraded Android Gradle plugin to version 3.1.1 and Gradle to Version 4.4. I got the error. How can I solve it?. Please, Anyone. Could not find method fla

How to decrease React-Native android App Size

For my react native android app, size of codes I have written is only 12KB But package generated is of size 7.9MB. How can i decrease that. As per Documentati

Starting a Gradle Daemon, 1 busy and 6 stopped Daemons could not be reused, use --status for details

When I was running the gradle clean command, I got the following message Starting a Gradle Daemon, 1 busy and 6 stopped Daemons could not be reused, use -

Android Studio - Assigning multiple value to ManifestPlaceholders in Gradle

I have two environment of my project one Prod another one is Staging. So whenever I have to build any of the environment, I have to change multiple keys like ma

App not installing in emulator after upgrading to android studio chipmunk

So pushing the run app button in android studio compiles the app. But it does not install the compiled app into emulator. App is compiled successfully . > Ta

It is possible to compile with Api 23 (6.0) and to maintain the old permission system (install-time)?

I readed this in the official android blog: Permission Changes With Marshmallow, permissions have moved from install-time to runtime. This is a mandatory chan