react-native-android-location-enabler icon indicating copy to clipboard operation
react-native-android-location-enabler copied to clipboard

App Stoped

Open sturmenta opened this issue 7 years ago • 5 comments

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.

sturmenta avatar Jun 24 '18 20:06 sturmenta

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.

Richou avatar Jun 25 '18 10:06 Richou

Same problem Real device android 5 PSL version 11 RN 55.1

Ternowy avatar Jul 14 '18 16:07 Ternowy

Any solution / work around found, I am also facing the same problem.

veeran-dev avatar Aug 05 '18 16:08 veeran-dev

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.

MateRyze avatar Oct 20 '18 19:10 MateRyze

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' ... }

jntdst avatar Nov 05 '18 13:11 jntdst