2

After I upgrade my project from react native v 0.36.0 to 0.47.1 and resolved all the conflicts and upgraded other third party modules too, when trying to run the command react-native run-android it got success, but my app is crashing at Launching.

I looked for any repeating third party libraries but no that kind of issue. Also removed the android/app/build folder and android/build folder but still facing the issue. I really don't know what is my problem and how can I fix that. Any suggestion?

Command line results seen as follows,

Build Successful for command react-native run-android enter image description here

React packager ready, but freeze the terminal as follows, enter image description here

Dinith Minura
  • 1,446
  • 2
  • 12
  • 24
  • in a separate terminal in your project directory run `react-native log-android` before you run it again and see if there's anything that stands out. – MattyK14 Aug 24 '17 at 16:37
  • https://stackoverflow.com/questions/44446523/unable-to-load-script-from-assets-index-android-bundle-on-windows the accepted solution here helped me. – nimgrg Aug 25 '17 at 07:53

2 Answers2

0

Did you ADB reverse ? Did you see the modules being loaded ?

HeWhoProtects
  • 477
  • 1
  • 10
  • 21
0

Did you tried running on android 5.0 and below? I also faced this issue, that was due to Draw overlay permission.

For android 6.0 and above, Try giving this permission under app settings.

This permission is required mainly in debug builds to display error information on app screen while running react project on device/emulator

Akhil
  • 6,667
  • 4
  • 31
  • 61
  • I'm using an android device with android 6.0, I have already gave the permission for Draw overlay for the app. no luck. – Dinith Minura Aug 25 '17 at 05:16