Make sure you’re adding these dependencies in android/app/build.gradle
, not android/build.gradle
.
More Related Contents:
- Gradle – What is a non-zero exit value and how do I fix it?
- :app:dexDebug ExecException finished with non-zero exit value 2
- Android studio – Failed to complete gradle execution – error in opening zip file
- “Hello world” Android app with as few files as possible, no IDE, and text editor only
- Got “unsupported class file version 52.0” after including a module to a project
- Android: Why doesn’t my Service start?
- How to set margin for ImageView in pixels in android java?
- Is it possible to use Java 8 for Android development?
- Android Studio 3.1.3 Gradle Sync Error. Could Not Download Gradle-Core.jar
- This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console
- Failed to resolve: com.google.firebase:firebase-core:16.0.1
- Import Google Play Services library in Android Studio
- UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define
- Android Studio – No JVM Installation found
- Error launching Android Studio: Failed to create JVM: error code-6
- Android Studio cannot resolve symbol but code executes correctly
- Android Studio: failed to complete gradle execution, cause is empty
- No resource identifier found for attribute ‘layout_behavior’ in package
- Error:Execution failed for task ‘:app:packageRelease’. > Unable to compute hash of /../AndroidStudioProjects/../classes.jar
- TransformException duplicate entry for common.annotations.Beta
- How to combine one android studio project into another android studio project
- tools.jar seems to be not in Android Studio classpath on Windows 8
- AAPT: error: resource android:attr/fontVariationSettings not found and resource android:attr/ttcIndex not found
- Unable to install Android Studio in Ubuntu [duplicate]
- Meaning of Android Studio error: Not annotated parameter overrides @NonNull parameter
- org.gradle.api.tasks.TaskExecutionException: Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Android Studio 3.0 DexArchiveBuilderException
- How can I import java.awt.image.BufferedImage in Android Studio
- Bumblebee Android studio Plugin [id: ‘com.android.application’, version: ‘7.1.0’, apply: false] was not found in any of the following sources:
- Recover file in Android Studio?