Closed nbastoWM closed 1 year ago
OK, I think I got it.
I had to add jcenter()
to the repositories in android/build.gradle
allprojects {
repositories {
mavenCentral()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
google()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}
HI,
I just created a clean new RN v0.70.6 app and added the react-native-proximity v0.6.0 and when I try to run it on Android, it shows me a build error:
The app is completly clean with no extra packages.