Category "android-gradle-plugin"

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

Why does Android Studio say "Test events were not received"?

I'm trying to unit test in my android application, and this is the simple test tutorial what i'm doing. import static org.junit.Assert.*; import org.junit.Test

AppDistribution Gradle plugin with Gradle 7

I am using Android Gradle Plugin version 7.0.0-alpha14 and Gradle version 7.0 and when I try to upload the app to app distribution through the Gradle plugin ver

Failed to query the value of property 'packageName'

I am running React-Native 0.63.4 and encountering the following error: Execution failed for task ':app:generateDebugBuildConfig'. > Failed to calculate the v

Setting AndroidManifest's activity screenRotation different per flavor

Is there a way to dynamically set the activity screenOrientation in AndroidManifest from gradle's build.config? I need to have a flavor which allows rotation,

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM

Since I updated to Android SDK Tools 25.1.6 and Android Support Repository 32.0.0 (this morning), I got the following error, I didn't change anything in my code

Cordova build changes distributionUrl in gradle-wrapper.properties file

I keep getting the following build exception when I run cordova run android --verbose What went wrong: A problem occurred evaluating root project 'android'

android gradle Received invalid response from the daemon

My project gradle is in building situation on the other hand i pushed the code on bitbucket after pushing when i come back to android studio this error comes

Failed to resolve attribute at index 13 at android.content.res.TypedArray.getDrawable()

My android app runs on a sdk 23 emulator just perfectly, but when I tried to run it on a tablet with sdk version 21, I got this exception: java.lang.RuntimeE

Error:Unknown host 'dl.google.com' You may need to adjust the proxy settings in Gradle

I am getting this error in android studio 3.0. Unknown host 'dl.google.com' You may need to adjust the proxy settings in Gradle I have checked my auto pro

Failed to resolve: com.github.barteksc:android-pdf-viewer:2.8.1

I am trying use this library in my Project. But i am unable to download it by adding it in gradle build. In fact i am even unable to download any library throug

Organize shared code between androidTest and test

I'm building an android component in the form of a gradle project. To test my components UI in several configurations with the espresso framework, I have a Test

Error:Unknown host 'maven.fabric.io'. You may need to adjust the proxy settings in Gradle

I am trying to use the fabric io plugin and have to use the below maven repo : maven { url 'https://maven.fabric.io/public' } but it gives me error while syn

Gradle 4.0 Unable to find a matching configuration

I am trying to open my existing project in new Android Studio 3.0 canary 2. I updated Gradle according to instructions, changed names for dependency configurati