Error:Unknown host 'jcenter.bintray.com'.
Go to File > Project Structure and then:
- Select project in the left-hand menu
- change
jcenter
tojcenter()
in the Android plugin Repository and Default Library Repository
Just clean and Rebuild the project. This worked for me
I got the same error and solved the problem using following instruction.
Go to your project level gradle build script add maven { url"https://jitpack.io"} into allprojects.
allprojects {
repositories {
google()
jcenter()
maven {url"https://jitpack.io"}
}
}