Category "android-gradle-plugin"

Gradle UncheckedIOException

My Android Studio project worked correctly, after restart project i got this error : Caused by: org.gradle.api.UncheckedIOException: Failed to create direct

Symbol ExoPlayerFactory not found

I am going insane trying to figure this out. It makes no sense at all. I have added the required implementation in my build.gradle file and synced it up just fi

Android studio - Generate signed APKs broke

I just updated my Android studio to the version 2021.1.1 Canary 12. After struggling to make it work, I had to also upgrade my Gradle and Gradle plugin to 7.0.2

After upgrade android version getting "Duplicate class android.support.v4.app.INotificationSideChannel"

before android update 3.4 my application run perfectly but after upgrade android my application getting merging error: "Duplicate class android.support.v4.app

Android Gradle Plugin: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources

This is my first time using Android Studio, and I'm trying to run my first Hello World app, But when I open Android Studio, and it's trying to build the Gradle,

Cannot resolve class com.github.mikephil.charting.charts.BarChart, MPAndroidChart

What's going on? Got all guide but I have this error. Class referenced in the layout file, com.github.mikephil.charting.charts.BarChart, was not found in the pr

META-INF/version duplicate error when using Proguard

Gradle : 4.10.1 Gradle Android Plugin version : 3.3.2 Proguard : 6.0.3 JDK - 1.9 Android Studio 3.3.2 When I try to build apk release version along with Progua

Duplicate class com.google.android.gms.internal.vision.zze found in modules

I am trying to build an app with openCV and Firebase ML Kit. But I get the following error while building project: Duplicate class com.google.android.gms.intern

Execution failed for task ':react-native-camera:compileDebugJavaWithJavac'

I am creating app using React-Native and testing it on Android device. After adding react-native-camera module, the following error occurs: org.gradle.api.task

API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'

When building gradle I'm getting this message: API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.app

Generate Signed Bundle: Errors while building Bundle file. 'other' has different root

The following error occur when I tried to Generate Signed Bundle. Note: Error occurs after I updated my android studio 3.6.3 to version 4.0 and Gradle build to

Gradle threw an error while downloading artifacts from the network .. Exception: Gradle task assembleDebug failed with exit code 1

I just started with app development with flutter, but am not even able to run the test app. This is what come on console : Launching lib/main.dart on AOSP on I

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