Open longnk-1447 opened 5 years ago
For anyone who stumble to this issue please go to this link: https://github.com/react-native-community/react-native-image-picker/issues/1002 and https://stackoverflow.com/questions/53691457/react-native-android-could-not-find-com-android-toolscommon
Same here!
subprojects {
if (project.name.contains('react-native-facebook-login')) {
buildscript {
repositories {
jcenter()
maven { url "https://dl.bintray.com/android/android-tools/" }
}
}
}
@longnk1301 Thank You! 👍
In my case only this works: In my project gradle:
subprojects {
afterEvaluate {project ->
if (project.name.contains('react-native-facebook-login') ||
project.name.contains('react-native-vector-icons')) {
buildscript {
repositories {
jcenter()
maven { url "https://dl.bintray.com/android/android-tools/" }
}
}
}
In each of those libraries gradle:
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
}
I need why??
For anyone who stumble to this issue please go to this link: react-native-community/react-native-image-picker#1002 and https://stackoverflow.com/questions/53691457/react-native-android-could-not-find-com-android-toolscommon
Thanks... Appreciated! (Y)
Help me!!! I'm used react-native-facebook-login, everything is working perfectly today. i run react-native run-android and this
I don't know why, Please give me a solution to fix it
Thank you very much!