I have same problem and i’m change order of repositories
in biuld.gradle (app) and problem solved.
Change :
jcenter()
google()
To :
google()
jcenter()
Hope it’s help
More Related Contents:
- Failed to resolve: com.android.support:cardview-v7:26.0.0 android
- Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Nested Recycler view height doesn’t wrap its content
- “No cached version… available for offline mode.”
- How to disable gradle ‘offline mode’ in android studio? [duplicate]
- “Gradle Version 2.10 is required.” Error
- Android Studio: Gradle – build fails — Execution failed for task ‘:dexDebug’
- Why are there two build.gradle files in an Android Studio project?
- Android Studio Error “Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8”
- What is the real Android Studio Gradle Version?
- Execution failed for task ‘:app:compileDebugAidl’: aidl is missing
- Invoke-customs are only supported starting with android 0 –min-api 26 [closed]
- Error: could not find com.google.gms:google-services:4.2.0
- Gradle error: Minimum supported Gradle version is 3.3. Current version is 3.2
- Cannot enable Gradle’s offline mode on Android Studio 3.6
- How to create an Android Library Jar with gradle without publicly revealing source code?
- how can I add the aidl file to Android studio (from the in-app billing example)
- Error: Configuration with name ‘default’ not found in Android Studio
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- No cached version of gradle
- Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not resolve com.android.support:appcompat-v7:26.1.0
- Configuration with name ‘default’ not found. Android Studio
- OpenCv with Android studio 1.3+ using new gradle – undefined reference
- Gradle error upgrading to Android Studio 3.0 Beta 1
- Android Studio: Re-download dependencies and sync project
- How to get the build variant at runtime in Android Studio?
- Android Studio 0.4.3 – Task ‘assemble’ not found in root project
- Android build gradle is too slow (Dependency Resolution)