Could not find com.android.tools:common:25.3.3.
See original GitHub issuei can not build my android project on mac with this build.gradle : `// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { ext { buildToolsVersion = “27.0.3” minSdkVersion = 16 compileSdkVersion = 27 targetSdkVersion = 26 supportLibVersion = “27.1.1” } repositories { jcenter() google() } dependencies { classpath ‘com.android.tools.build:gradle:3.1.4’
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects { repositories { mavenLocal() jcenter() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url “$rootDir/…/node_modules/react-native/android” } google() } }
task wrapper(type: Wrapper) { gradleVersion = ‘4.4’ distributionUrl = distributionUrl.replace(“bin”, “all”) } `
this error happend::
`A problem occurred configuring project ‘:react-native-fast-image’.
Could not resolve all artifacts for configuration ‘:react-native-fast-image:classpath’. Could not find com.android.tools:common:25.3.3. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.pom https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.jar Required by: project :react-native-fast-image > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 project :react-native-fast-image > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.build:manifest-merger:25.3.3 project :react-native-fast-image > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.ddms:ddmlib:25.3.3`
what is that for ???
Issue Analytics
- State:
- Created 5 years ago
- Reactions:19
- Comments:16 (1 by maintainers)
Top GitHub Comments
In your app build.gradle you can add:
You could use something like
maven { url : "https://dl.bintray.com/android/android-tools/" }
I had the same problem, this works for me. I use Bitrise
Same issue here.