react-native-vector-icons: Could not find com.android.tools:common:25.3.3.
Old version of gradle has missing dependencies
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-vector-icons > 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-vector-icons > 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-vector-icons > 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
project :react-native-vector-icons > 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.analytics-library:shared:25.3.3
project :react-native-vector-icons > 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.analytics-library:tracker:25.3.3
project :react-native-vector-icons > 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:sdklib:25.3.3 > com.android.tools.layoutlib:layoutlib-api:25.3.3
project :react-native-vector-icons > 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:sdklib:25.3.3 > com.android.tools:dvlib:25.3.3
project :react-native-vector-icons > 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:sdklib:25.3.3 > com.android.tools:repository:25.3.3
FIX:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
}
}
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 15
I had face this issue and wast my time more than 3hr , finally found the solution just update with newer version 6.1.0
Can verify upgrading react-native-vector-icons to 6.1.0 fixes the build issue!
@solonifer I fixed the error by adding the following to
node_modules/react-native-vector-icons/android/build.gradleThis is only a temporary fix to allow you to build. I would check if upgrading does the job first.
google()and updated build tools tocom.android.tools.build:gradle:3.2.1STEP 1. go package.json edit 4.1.0 => 6.1.0 STEP 2. and run npm i or yarn on terminal STEP 3: run react-native run-android Hope this help for you