I\'m in the process of migrating a React Native project from react-native version 0.58.5 to 0.60.4.
For the Android part I\'ve done all the changes mentioned here>
I solved this problem by a tiny change after doing this steps in this article
https://github.com/facebook/react-native/issues/25415
Then make sure to add this jsc-android block to your android/build.gradle:
allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
//THIS ONE
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
google()
jcenter()
}
}