React Native Android Can Not Find Com.android.tools.build:gradle:3.6.3
Solution 1:
I added google()
to build.gradle
to resolve the problem:
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
}
}
allprojects {
repositories {
jcenter()
google()
}
}
Solution 2:
I had a similar problem... just that mine was not about 'react-native-fast-image:classpath'. Mine was Caused by:
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'
I added "google()" in the build.gradle file and it worked form me.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
allprojects {
repositories {
jcenter()
google()
}
}
Solution 3:
I had one issue also with not finding com.android.tools.build:gradle:3.6.3, but not using React, in my case it worked. Check here.
Solution 4:
I fixed it, it's react native fast image use the different version with my tool version ...
Solution 5:
I'm having the same issue and would try to test if your solution works with me too, but any better info on how to fix this: "react native fast image use the different version with my tool version" :)
Cheers
Post a Comment for "React Native Android Can Not Find Com.android.tools.build:gradle:3.6.3"