Environment
Flutter 3 application using Firebase and code shrinking on Android.
What happens
Debug builds work, but the signed release closes when opening the login screen.
What I have tried
Confirmed Firebase configuration and reproduced the crash on two devices.
I would appreciate advice on how to identify the root cause without risking existing data or configuration.
Verified community troubleshooting
I would test the likely cause before changing anything permanent.
Likely cause: R8 removes or renames classes accessed through reflection by a dependency.
What I would try: Read the release stack trace, add the dependency’s documented ProGuard keep rules and generate a new mapping-backed build.
After the change, reproduce the original scenario rather than assuming the first successful test fixed it.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Mobile25% match
React Native Android release APK crashes on cold start only when R8 minification is enabled — index.android.bundle missing at runtime
Open0 answers - Mobile21% match
Flutter app renders black screen on foldable Android phones after fold/unfold events — display density and PlatformView mismatch
Open0 answers - Mobile20% match
Release APK contains index.android.bundle but app crashes on startup with obfuscated NoSuchMethodError after enabling R8 — ProGuard keep rules may be incomplete
Open0 answers