I had the same problem. Solved by adding url for missing repository in the build.gradle
file:
android {
[...]
repositories {
maven { url 'https://repo1.maven.org/maven2' }
}
[...]
}
That’s it.
More Related Contents:
- IntelliJ IDEA with Junit 4.7 “!!! JUnit version 3.8 or later expected:”
- Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter
- Command failed: gradlew.bat installDebug
- how to replace display array list equals another array list values
- android on Text Change Listener
- Conversion to Dalvik format failed: Unable to execute dex: Java heap space
- Android getting value from selected radiobutton
- How to set android lock screen image
- Using client/server certificates for two way authentication SSL socket on Android
- Passing a JavaScript object using addJavascriptInterface() on Android
- Android Studio was unable to find a valid Jvm (Related to MAC OS)
- Android: how to handle button click
- Problem unmarshalling parcelables
- Android Studio TransformException : Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Efficiency of searching using whereArrayContains
- Android: how to hide ActionBar on certain activities
- Android gives error “Cannot fit requested classes in a single dex file”
- Android: how to write a file to internal storage
- How do you get the user defined “Device Name” in android?
- Android runtime permissions- how to implement
- What is the use of BaseColumns in Android
- spannable on android for textView
- Trivial: Get confirmation of email sent in android
- Problem with deserialization of LocalDateTime in Junit test
- MimeMessage.saveChanges is really slow
- RecyclerView scrolled UP/DOWN listener
- Android: Changing Background-Color of the Activity (Main View)
- Android: How to configure FFMPEG latest version in android studio?
- Request runtime permissions from v4.Fragment and have callback go to Fragment?
- Run Handler messages in a background thread