Why Does My Flutter App Crash Only in Android Release Build?

Check this out:
  • Use --no-shrink to test if ProGuard is causing issues.

  • Add missing proguard-rules.pro for all third-party libs.

  • Make sure proper initialization in main().

  • Check AndroidManifest for required permissions.

  • Use flutter run --release with USB to catch errors.

  • Match SDK + Gradle versions across environments.

In one of our fintech Flutter apps at Impero IT Services, release builds were crashing due to a subtle difference in Gradle versions across dev environments. We stabilized it by explicitly pinning compileSdkVersion, Gradle & kotlin_version across CI/CD and local builds.
 
Back
Top