[3.0.6] Crashes on Android
See original GitHub issue3.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:
- Created 6 years ago
- Reactions:8
- Comments:19
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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>
@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>