A quick temporary fix is to include the google maven repo in your top level gradle file.
allprojects {
repositories {
mavenLocal()
maven { url 'https://maven.google.com' } // <-- add this!
jcenter()
More Related Contents:
- Running “cordova build android” – unable to find attribute android:fontVariationSettings and android:ttcIndex
- ionic build Android | error: No installed build tools found. Please install the Android build tools
- Multiple dex files define Lorg/apache/cordova/BuildHelper
- Could not resolve all dependencies for configuration ‘:_armv7DebugCompile’
- Cordova build: Please install Android target: “android-22”. I dont want android-22. I want android-19 – what do I do?
- Debugging a WebView (Ionic) app on Android via logcat
- ANDROID_HOME is not set and “android” command not in your PATH Phonegap
- Getting Gradle error “Could not reserve enough space for object heap” constantly in Intellij IDEA
- Ionic Cordova app stopped compiling after Google’s June 17th Firebase SDK update
- Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”
- Error:(1, 0) Plugin with id ‘com.android.application’ not found
- “No cached version… available for offline mode.”
- “Gradle Version 2.10 is required.” Error
- Android Studio’s project gradle file changed?
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0
- Android Studio error installing Gradle
- Gradle build tool cannot find play-services-tasks.aar? Why?
- How to get current flavor in gradle
- NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN error
- Android Studio: Gradle: error: cannot find symbol variable
- Application Error – The connection to the server was unsuccessful. (file:///android_asset/www/index.html)
- Gradle and Multi-Project structure
- FirebaseInitProvider: FirebaseApp initialization unsuccessful
- ‘dependencies’ cannot be applied to ‘(groovy.lang.Closure)’
- Android Studio: “Execution failed for task ‘:app:mergeDebugResources’” if project is created on drive C:
- Dependency ignored because of conflict Android studio
- Android Gradle: What is javaMaxHeapSize “4g”?
- ionic capacitor qrscanner activity compat
- No Cached Version Gradle Plugin Available for offline mode
- Android with Gradle (Java finished with non-zero exit value 2)