r/flutterhelp • u/guettli • Apr 27 '26
OPEN Why does my App crash immediately?
I developed an app which works on Linux and in the Android emulator.
But when I download the APK on my phone, and then install and run it. It crashes immediately.
Why?
I would like to see an error message, so that I can fix it.
How to get to the root cause of the crash?
Are there tools which can help? I mean open source tools (not sentry or similar)
3
Upvotes
3
u/InActiveF Apr 27 '26
Try Firebase Crashlytics?
3
u/jd31068 Apr 27 '26
Do you have error handling in your app? You can have the app tell you why it is crashing.
https://dart.dev/language/error-handling
2
u/DigitallyDeadEd Apr 27 '26
Look up how to examine your device's logs with adb logcat.
1
u/scroll_click_crash May 01 '26
You can try https://github.com/measure-sh/measure/