Open kapilsharma-gts opened 1 year ago
Which version of flutter are you using? And which device are you building for?
Found this that might be worth trying https://stackoverflow.com/questions/66363437/flutter-release-bundle-or-apk-crash-on-start-dlopen-failed-library-libflutter
[√] Flutter (Channel stable, 3.3.9, on Microsoft Windows [Version 10.0.19045.2364], locale en-IN) • Flutter version 3.3.9 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision b8f7f1f986 (5 weeks ago), 2022-11-23 06:43:51 +0900 • Engine revision 8f2221fbef • Dart version 2.18.5 • DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at C:\Users\pc\AppData\Local\Android\Sdk • Platform android-33, build-tools 33.0.0 • ANDROID_HOME = C:\Users\pc\AppData\Local\Android\Sdk • ANDROID_SDK_ROOT = C:\Users\pc\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio3\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\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 3.6) • Android Studio at C:\Users\pc\AppData\Local\Android\android-studio • Flutter plugin version 49.0.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] Android Studio (version 2021.2) • Android Studio at C:\Program Files\Android\Android Studio3 • 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 (version 1.74.2) • VS Code at C:\Users\pc\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.27.0
[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.2364] • Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.125 • Edge (web) • edge • web-javascript • Microsoft Edge 108.0.1462.54 ! Device emulator-5554 is offline.
[√] HTTP Host Availability • All required HTTP hosts are available
! Doctor found issues in 1 category. PS C:\Users\pc\Desktop\quiz>
Pixel 3a API 30 to connect...
same problem
Weird! Are you able to run a new project created with flutter create
? It sounds like a flutter setup issue based on the error log.
/FlutterLoader( 5647): Flutter initialization failed. E/FlutterLoader( 5647): java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found E/FlutterLoader( 5647): at java.util.concurrent.FutureTask.report(FutureTask.java:123) E/FlutterLoader( 5647): at java.util.concurrent.FutureTask.get(FutureTask.java:193) E/FlutterLoader( 5647): at io.flutter.embedding.engine.loader.FlutterLoader.ensureInitializat E/FlutterLoader( 5647): at io.flutter.embedding.engine.FlutterEngine.(FlutterEngine.java:207)
E/FlutterLoader( 5647): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(FlutterActivityAndFragmentDelegate.java:271)
E/FlutterLoader( 5647): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:180)
E/FlutterLoader( 5647): at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:498)
E/FlutterLoader( 5647): at android.app.Activity.performCreate(Activity.java:8000)
E/FlutterLoader( 5647): at android.app.Activity.performCreate(Activity.java:7984)
E/FlutterLoader( 5647): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.ja
E/FlutterLoader( 5647): at android.app.Activity.performCreate(Activity.java:7984) E/FlutterLoader( 5647): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309) E/FlutterLoader( 5647): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422) E/FlutterLoader( 5647): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601) E/FlutterLoader( 5647): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) E/FlutterLoader( 5647): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/FlutterLoader( 5647): at android.app.servertransaction.TransactionExecutor.execute(TransactionE E/FlutterLoader( 5647): at android.os.Handler.dispatchMessage(Handler.java:106) E/FlutterLoader( 5647): at android.os.Looper.loop(Looper.java:223) E/FlutterLoader( 5647): at android.app.ActivityThread.main(ActivityThread.java:7656) E/FlutterLoader( 5647): at java.lang.reflect.Method.invoke(Native Method) E/FlutterLoader( 5647): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) E/FlutterLoader( 5647): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) FlutterLoader( 5647): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) E/FlutterLoader( 5647): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libflutter.so" not found E/FlutterLoader( 5647): at java.lang.Runtime.loadLibrary0(Runtime.java:1087) E/FlutterLoader( 5647): at java.lang.Runtime.loadLibrary0(Runtime.java:1008) E/FlutterLoader( 5647): at java.lang.System.loadLibrary(System.java:1664) E/FlutterLoader( 5647): at io.flutter.embedding.engine.FlutterJNI.loadLibrary(FlutterJNI.java:141 tterLoader( 5647): at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:189) E/FlutterLoader( 5647): at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:182) E/FlutterLoader( 5647): at java.util.concurrent.FutureTask.run(FutureTask.java:266) E/FlutterLoader( 5647): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/FlutterLoader( 5647): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/FlutterLoader( 5647): at java.lang.Thread.run(Thread.java:923)
showing this warning