question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[3.0.6] Crashes on Android

See original GitHub issue

3.0.1 works on Android, but 3.0.6 causes an immediate crash. I can’t even open the app, it just pops up the crash alert. Logs don’t show anything useful, either:

$ react-native log-android
Scanning folders for symlinks in /Users/joncursi/Sites/joncursi/redbird-native/node_modules (29ms)
Starting the logger (/Users/joncursi/Library/Android/sdk/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V)...
--------- beginning of main
--------- beginning of system
11-09 15:30:00.726  3099  3099 D ReactNative: [CodePush] Loading JS bundle from "assets://index.android.bundle"
11-09 15:30:00.727  3099  3099 D ReactNative: ReactInstanceManager.ctor()
--------- beginning of crash
11-09 15:30:50.816  3511  3511 D ReactNative: [CodePush] Loading JS bundle from "assets://index.android.bundle"
11-09 15:30:50.817  3511  3511 D ReactNative: ReactInstanceManager.ctor()

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:8
  • Comments:19

github_iconTop GitHub Comments

63reactions
ryam4ucommented, Nov 13, 2017

this is solved by creating the file: android/app/src/main/res/values/colors.xml <?xml version="1.0" encoding="utf-8"?> <resources> <color name="primary_dark"><!-- Colour of your status bar here --></color> </resources>

42reactions
celodauanecommented, Nov 14, 2017

@ryam4u that also worked for me. I could not leave the color as an empty string so I added a transparent status bar.

I ended up with the in my android/app/src/main/res/values/colors.xml:

<?xml version="1.0" encoding="utf-8"?> <resources> <color name="primary_dark">#00ffffff</color> </resources>

Read more comments on GitHub >

github_iconTop Results From Across the Web

[in_app_purchase: ^3.0.6] Android crashes during ... - GitHub
I am trying to resolve a crash I am experiencing on the Android version of my app. I'm not certain when this started...
Read more >
Developers - [3.0.6] Crashes on Android - - Bountysource
3.0.1 works on Android, but 3.0.6 causes an immediate crash. I can't even open the app, it just pops up the crash alert....
Read more >
Crashes | Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Samsung Video Player Keeps Crashing - XDA Forums
Check your logs and see why it's crashing, if it's missing an app you deleted then it should say in the logs most...
Read more >
Xamarin.Forms.Map app crashes - Microsoft Q&A
After the upgrade, the app crashes when a view is opened with map for Android versions < 9. Android version 9 and up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found