App Stoped
After installing manually correctly, when run react-native run-android the application closes.
It was done:
rm -Rf node_modules
./gradlew clean
and without any results.
I can not detect the error since I do not see any error in the console, only the android message.
I will need more informations :
- Are you running your app on emulator ?
- The version of your android system
- The version of play-services-location you are using
- The version of react-native and react-native-cli you are using
You can also, look in the android log (with adb logcat), to see if there is any stacktrace, when your application is closed.
Same problem Real device android 5 PSL version 11 RN 55.1
Any solution / work around found, I am also facing the same problem.
Are you using other android dependencies? List them with ./gradlew app:dependencies in ./android
My app was crashing, because react-native maps used other play-services version.
Yes, make the versions all of of play-services identical. To do this, add these dependencies in build.gradle file.
dependencies { ... compile 'com.google.android.gms:play-services-vision:15.0.1' compile 'com.google.android.gms:play-services-maps:15.0.1' ... }