You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my production app I am facing some strange errors that are happen very rarely on Android 4 and 5 when starting the app. I am using the app bundle feature to upload to Google Play. I found no other issues with that error so i opened a new issue, sadly I can not reproduce the error locally.
java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2298)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2358)
at android.app.ActivityThread.access$800 (ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1278)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5219)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:694)
Caused by: java.lang.RuntimeException:
at io.flutter.embedding.engine.loader.FlutterLoader.access$000 (FlutterLoader.java)
or .access$100 (FlutterLoader.java)
or .automaticallyRegisterPlugins (FlutterLoader.java)
or .ensureInitializationComplete (FlutterLoader.java)
or .startInitialization (FlutterLoader.java)
at io.flutter.embedding.engine.FlutterEngine.<init> (FlutterEngine.java)
at io.flutter.embedding.engine.FlutterEngine.<init> (FlutterEngine.java)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.access$000 (FlutterActivityAndFragmentDelegate.java)
or .getFlutterEngine (FlutterActivityAndFragmentDelegate.java)
or .onActivityResult (FlutterActivityAndFragmentDelegate.java)
or .onAttach (FlutterActivityAndFragmentDelegate.java)
or .onCreateView (FlutterActivityAndFragmentDelegate.java)
or .onNewIntent (FlutterActivityAndFragmentDelegate.java)
or .onRequestPermissionsResult (FlutterActivityAndFragmentDelegate.java)
or .onRestoreInstanceState (FlutterActivityAndFragmentDelegate.java)
or .onTrimMemory (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterActivity.onCreate (FlutterActivity.java)
at android.app.Activity.performCreate (Activity.java:5933)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2251)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2358)
at android.app.ActivityThread.access$800 (ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1278)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5219)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:694)
Caused by: java.util.concurrent.ExecutionException:
at java.util.concurrent.FutureTask.report (FutureTask.java:93)
at java.util.concurrent.FutureTask.get (FutureTask.java:163)
at io.flutter.embedding.engine.loader.FlutterLoader.access$000 (FlutterLoader.java)
or .access$100 (FlutterLoader.java)
or .automaticallyRegisterPlugins (FlutterLoader.java)
or .ensureInitializationComplete (FlutterLoader.java)
or .startInitialization (FlutterLoader.java)
at io.flutter.embedding.engine.FlutterEngine.<init> (FlutterEngine.java)
at io.flutter.embedding.engine.FlutterEngine.<init> (FlutterEngine.java)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.access$000 (FlutterActivityAndFragmentDelegate.java)
or .getFlutterEngine (FlutterActivityAndFragmentDelegate.java)
or .onActivityResult (FlutterActivityAndFragmentDelegate.java)
or .onAttach (FlutterActivityAndFragmentDelegate.java)
or .onCreateView (FlutterActivityAndFragmentDelegate.java)
or .onNewIntent (FlutterActivityAndFragmentDelegate.java)
or .onRequestPermissionsResult (FlutterActivityAndFragmentDelegate.java)
or .onRestoreInstanceState (FlutterActivityAndFragmentDelegate.java)
or .onTrimMemory (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterActivity.onCreate (FlutterActivity.java)
at android.app.Activity.performCreate (Activity.java:5933)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2251)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2358)
at android.app.ActivityThread.access$800 (ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1278)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5219)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:694)
Caused by: java.lang.UnsatisfiedLinkError:
at java.lang.Runtime.loadLibrary (Runtime.java:366)
at java.lang.System.loadLibrary (System.java:989)
at io.flutter.embedding.engine.FlutterJNI.loadLibrary
at io.flutter.embedding.engine.loader.FlutterLoader$1.call (FlutterLoader.java)
at io.flutter.embedding.engine.loader.FlutterLoader$1.call (FlutterLoader.java)
at java.util.concurrent.FutureTask.run (FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
at java.lang.Thread.run (Thread.java:818)
Flutter doctor:
[√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19042.1110], locale de-DE)
• Flutter version 2.2.2 at C:\Users\julie\Documents\biodiversity\flutter_windows_v1.9.1+hotfix.4-stable\flutter
• Framework revision d79295af24 (6 weeks ago), 2021-06-11 08:56:01 -0700
• Engine revision 91c9fc8fe0
• Dart version 2.13.3
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\julie\AppData\Local\Android\sdk
• Platform android-30, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 4.1.0)
• 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 1.8.0_242-release-1644-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2020.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.2
• 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
[√] IntelliJ IDEA Ultimate Edition (version 2021.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.3
• 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
[√] VS Code, 64-bit edition (version 1.57.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension can be installed from:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (4 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 4.4.2 (API 19) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19042.1110]
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.164
• Edge (web) • edge • web-javascript • Microsoft Edge 91.0.864.48
! Doctor found issues in 2 categories.
The text was updated successfully, but these errors were encountered:
Thanks for your reply @TahaTesser and sorry if this is a duplicate but I am still not sure if it is.
I already read the other issues you linked before but I thought and I am still wondering is it is really the same issue? Because the stacktrace is simular but not exactly the same, e.g. here in the stacktrace there is no "DexPathList" in it, but in the ones from the issue reporter you mentioned there is. In this comment another person has posted exacly my stacktrace but there is no answer or clarification if this belongs to the same issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Steps to Reproduce
On my production app I am facing some strange errors that are happen very rarely on Android 4 and 5 when starting the app. I am using the app bundle feature to upload to Google Play. I found no other issues with that error so i opened a new issue, sadly I can not reproduce the error locally.
Flutter doctor:
The text was updated successfully, but these errors were encountered: