This can happen when there is an error in an update. To fix it open android sdk manager and:
- Uninstall android support repository
- Install again android support repository
More Related Contents:
- Gradle Implementation vs API configuration
- Android Studio – Importing external Library/Jar
- Add GitHub library as dependency to Android Studio project
- No resource found that matches the given name (at ‘dialogCornerRadius’ with value ‘?android:attr/dialogCornerRadius’)
- Gradle error: configuration declares dependency which is not declared
- Android Studio: Add jar as library?
- Java finished with non-zero exit value 2 – Android Gradle
- Android Studio suddenly cannot resolve symbols
- Android studio add external project to build.gradle
- How to configure gradle to work “offline” (using cached dependencies)
- Still getting warning : Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’
- What is Jetifier?
- Android Gradle Could not reserve enough space for object heap
- Using ViewPagerIndicator library with Android Studio and Gradle
- Is there any way to integrate Eclipse with Gradle in Android project?
- Duplicate files copied (Android Studio 0.4.0) [duplicate]
- BuildConfig.DEBUG always false when building library projects with gradle
- Gradle 7 and jitpack.io runs into error during publish
- Android Studio build fails with “Task ” not found in root project ‘MyProject’.”
- Android Studio: Resolving Duplicate Classes
- Execution failed for task ‘:app:transformClassesWithDexForDebug’ while implementing Google sign in for Android
- How to change the generated filename for App Bundles with Gradle?
- JNI and Gradle in Android Studio
- 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
- Problem duplicate class androidx.lifecycle.viewmodel found in modules
- How to add apache commons collections in Android Studio (Gradle)
- Build variants in Gradle for a Library Project in Android
- Importing gradle project to eclipse
- Failed to resolve: com.android.support.design:25.4.0