The app crashes on Android on start
See original GitHub issueI installed the package and linked it to React Native following the instructions in this guide and built the release version using this command:
./gradlew assembleRelease
Then I took the .apk file and installed it on my device. The app never starts and crashes every time I open it. I made a new app from scratch and didn’t even put any code in it but followed the same installation instructions and built it and I got the same problem.
I tested the new app after doing the first 2 steps and it didn’t crash but after adding the last 3 steps, the problem happened again!
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
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 >11 Quick Ways to Fix Apps Keep Crashing on Android - iMobie
Go to “Settings” > Apps > Find the app that keeps crashing. · Go to Settings > “Apps” or “Application manager” > Choose...
Read more >Why do my apps keep crashing on Android, How to fix it
The easiest way to fix an app that keeps crashing on your Android smartphone is to simply force stop it and open it...
Read more >Why Do My Apps Keep Crashing on Android? - Avast
1. The “Force stop” method · 2. Restart your Android device · 3. Keep your phone updated · 4. Clear your cached data...
Read more >How to Fix It When Apps Keep Crashing on Android - Lifewire
How to Fix When Apps Keep Crashing on Android · Reboot your Android. · turn on Wi-Fi on your Android and test the...
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
In React Native 0.60.x greater has also this issue
Solution is
<Project-folder>/android/gradle.properties
add this below lineandroid.enableDexingArtifactTransform.desugaring=false
this is worked for me
Thanks Ajith A B
Edit your app/build.gradle file and adjust it so it looks this this section: https://github.com/jitsi/jitsi-meet/blob/b8a70379598c5480b40f2d2ac2131721781d4661/android/app/build.gradle#L24-L36