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.

The app crashes on Android on start

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

12reactions
ajith-abcommented, May 24, 2020

In React Native 0.60.x greater has also this issue

Solution is <Project-folder>/android/gradle.properties add this below line

android.enableDexingArtifactTransform.desugaring=false

this is worked for me

Thanks Ajith A B

6reactions
saghulcommented, Feb 6, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

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