How to troubleshoot crashes detected by Google Play Store for Flutter app

Viewed 640

I have a flutter app I am trying to publish to Google Play store.

Play store is saying the app is crashing on Pixel 2 (api 28) with below error. Other devices they use for testing don't get this error.

Could not find anything on this error. When I test on Pixel 2 (api 28) emulator on my PC the app does not crash.

How can I troubleshoot this?

Abort message: 'vendor/unbundled_google/libs/ndk_translation/ndk_translation/ir/include/ndk_translation/ir/ir.h:685: 
CHECK failed: IsAligned(offset, GetFormatSize(format))'
1 Answers

This appears to be a problem with the current release of Flutter. The problem goes away if you use the current beta 3.1.0-9.0.pre as follows:

flutter channel beta
flutter upgrade 3.1.0
flutter clean
flutter build appbundle --release

This allowed me to use minSdkVersion 21 and targetSdkVersion 31 and still pass the Play Store review.

Related