"Failed to resolve: support-v4" after upgrading android studio
After days of struggling with this problem, I finally found a way.
The solution is to delete the caches
folder inside ~/.gradle
and download dependencies again.
allprojects {
repositories {
mavenLocal()
google()
maven {
url 'https://maven.google.com'
}
jcenter()
}
}
I finally resolved it by using maven { url 'https://maven.google.com' }
above the jcenter()
.
https://github.com/rebeccahughes/react-native-device-info/issues/414