-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed as not planned
Labels
a: productionIssues experienced in live production appsIssues experienced in live production appsc: crashStack traces logged to the consoleStack traces logged to the consolee: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systemengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: invalidIssue is closed as not validIssue is closed as not valid
Description
Steps to Reproduce
install a release version on a device with android 12L (api level 32) There was already a issue on this problem: Crash on launch on Android API Level 32 (Android 12L)
We get a certain crash on our (million users) Flutter App on this specific api level 32. We can not recreate it on the emulator.
As it is a "NoSuchMethodError" we supect it is a proguard/obfuscating java bug. These kind of errors only occur release build, which can not be run on a emulator. We do not own such a device currently :-(
Whole crash log:
Type
Exception java.lang.NoSuchMethodError
Exception java.lang.NoSuchMethodError:
at androidx.window.layout.ExtensionWindowLayoutInfoBackend.registerLayoutChangeCallback (ExtensionWindowLayoutInfoBackend.java)
at androidx.window.layout.WindowInfoTrackerImpl$windowLayoutInfo$1.invokeSuspend (WindowInfoTrackerImpl.java:2)
at androidx.window.layout.WindowInfoTrackerImpl$windowLayoutInfo$1.invoke (WindowInfoTrackerImpl.java)
at androidx.window.layout.WindowInfoTrackerImpl$windowLayoutInfo$1.invoke (WindowInfoTrackerImpl.java)
at kotlinx.coroutines.flow.SafeFlow.collectSafely (SafeFlow.java)
at kotlinx.coroutines.flow.AbstractFlow.collect (AbstractFlow.java)
at androidx.window.java.layout.WindowInfoTrackerCallbackAdapter$addListener$1$1.invokeSuspend (WindowInfoTrackerCallbackAdapter.java)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (BaseContinuationImpl.java)
at kotlinx.coroutines.UndispatchedCoroutine.clearThreadContext (UndispatchedCoroutine.java)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8855)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
flutter doctor output
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.22000.856], locale nl-NL)
• Flutter version 3.0.5 at C:\Development\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f1875d570e (6 weeks ago), 2022-07-13 11:24:16 -0700
• Engine revision e85ea0e79c
• Dart version 2.17.6
• DevTools version 2.12.2
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
• Android SDK at C:\Users\dvy\AppData\Local\Android\sdk
• Platform android-32, build-tools 31.0.0-rc5
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.10.2)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
• Visual Studio Professional 2019 version 16.10.31410.357
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] VS Code, 64-bit edition (version 1.70.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.46.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.856]
• Chrome (web) • chrome • web-javascript • Google Chrome 104.0.5112.101
• Edge (web) • edge • web-javascript • Microsoft Edge 103.0.1264.77
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Metadata
Metadata
Assignees
Labels
a: productionIssues experienced in live production appsIssues experienced in live production appsc: crashStack traces logged to the consoleStack traces logged to the consolee: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systemengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: invalidIssue is closed as not validIssue is closed as not valid