I'm having the same problem running the android emulation as the following guy in this link.
react-native run-android
Scanning folders for symlinks in /Users/jloi/dev/lndr-mobile/node_modules (10ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
File /Users/jloi/.android/repositories.cfg could not be loaded.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
> A problem occurred configuring project ':urbanairship-react-native'.
> Could not resolve all dependencies for configuration ':urbanairship-react-native:_debugPublishCopy'.
> Could not find any version that matches com.facebook.react:react-native:[0.40,).
Versions that do not match:
0.20.1
0.20.0
0.19.1
0.19.0
0.18.0
+ 12 more
Required by:
LNDR:urbanairship-react-native:unspecified
Please advise. Thanks.
Comments
2 comments