I recently upgrade my pixel 3a to Android 11 and my flutter application didn't work on my phone. Oddly, there was no problem on my device Android 10 before and there is no problem with other device on Android 10 or Android 9.
My application is published on the play store by a bundle app so i can receive some stack trace in ANR errors monitoring, here is the detailed stack trace :
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
It crashes at the opening time, just after the splash screen. I precise that i have normaly an animation just after the splash screen.
--------------------------------------------------------------------------------------------------------------------------------
flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.269, on Mac OS X 10.15.6 19G2021 x86_64, locale fr-FR)
• Flutter version 1.22.0-10.0.pre.269 at /Users/alexandre_poichet/devhome/app/flutter
• Framework revision 51fa704642 (11 days ago), 2020-09-19 11:27:04 -0700
• Engine revision 4b8477d115
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/alexandre_poichet/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.0.1, Build version 12A7300
• CocoaPods version 1.8.4
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 45.1.2
• Dart plugin version 193.6494.35
[!] VS Code (version 1.48.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
[✓] Connected device (3 available)
• iPhone 11 (mobile) • 91A6A462-A82D-4C52-A130-356060FCED16 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 85.0.4183.121
! Doctor found issues in 1 category.
--------------------------------------------------------------------------------------------------------------------------------
So i cannot say if the problem comes from Flutter or Android and it's very difficult to analyse that because i don't have the problem in local debug mode or from an apk.
I really appreciate some help or feedback because unfortunately i didn't find anything consistent about specific crash between Andoid 11 and Flutter.
Thank you in advance.