Could not find multidex.jar (com.android.support:multidex:1.0.2)
To me what worked was to move google()
before jcenter()
both on buildscript
and on allprojects
's repositories
element.
In your case:
repositories {
maven {
url 'https://maven.google.com'
}
jcenter()
// Add your other repositories here
}
I also tried the following and both work for me:
repositories {
google()
jcenter()
// Add your other repositories here
}
Silly Mistake , Just make sure you are using
maven { url 'https://maven.google.com' }
above
jcenter()
Thats the problem it was throwing Searched in the following locations: https://jcenter.bintray.com/com/android/support/multidex/1.0.2/multidex