Category "android-gradle-plugin"

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

java.lang.RuntimeException: Manifest merger failed with multiple errors

When i am build the app error occur java.lang.RuntimeException: Manifest merger failed with multiple errors java.lang.RuntimeException: Manifest mer

IllegalStateException: Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first

I've been getting this fatal error today after changing some gradle dependences. Even though I tried to revert the gradle dependences back to the original I'm s

React Native Android No such property - logger for class DefaultProjectDescriptor

I am developing my app using React Native and now when I open the android project in Android Studio, during gradle sync it is throwing this error: A problem occ

"Task 'compile' is ambiguous in root project" - Android Studio

Every time I try to run my project, clean it or build it I get a gradle error: Error:FAILURE: Build failed with an exception. * What went wrong: Task 'compile

How to import org.apache.httpcomponents using Gradle

Just trying to make some POST requests in an Android app. I was testing with HttpClient 4.5.3 (https://hc.apache.org/downloads.cgi) in a standalone script. Ever

react native android build error (on mac) - unexpected end of file (gradlew)

I am using a mac mini M1 to build a react native app for Android. The app builds fine on my windows computer, but when trying to build on my mac mini I get the

Gradle - "enforceUniquePackageName" deprecated with version 3.0.0+?

android { enforceUniquePackageName = false } "enforceUniquePackageName" works with the gradle version: dependencies { classpath 'com.android.tools.bu