-
Notifications
You must be signed in to change notification settings - Fork 28k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App gets stuck at blank screen - Could not launch engine with configuration
#88407
Comments
8.3.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
[ ] 8.3.0 - [Firebase/Analytics][I-ACS025036] App Delegate Proxy is disabled
[ +10 ms] 8.3.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
[ +10 ms] 8.3.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
[ ] 8.3.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
[ +46 ms] [VERBOSE-2:shell.cc(93)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[ ] [VERBOSE-2:dart_isolate.cc(170)] Could not prepare isolate.
[ ] [VERBOSE-2:runtime_controller.cc(382)] Could not create root isolate.
[ ] [VERBOSE-2:shell.cc(571)] Could not launch engine with configuration.
[ +8 ms] Observatory URL on device: http://127.0.0.1:53332/
Forwarded port ForwardedPort HOST:57031 to DEVICE:53332
[ ] Forwarded host port 57031 to device port 53332 for Observatory
[ +5 ms] Caching compiled dill
[ +119 ms] Connecting to service protocol: http://127.0.0.1:57031/
[ +184 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:57031/.
[ +69 ms] DDS is listening at http://127.0.0.1:57034/JedQqwtZ4wM=/. |
Hi @rymesaint
Instead of cleaning an existing project or creating an ios folder, can you please try to reproduce the issue using a new project without using third-party packages?
Thank you |
still blank with new project without any third party packages |
Hi @rymesaint Logsflutter doctor -v[✓] Flutter (Channel stable, 2.2.3, on macOS 12.0 21A5304g darwin-x64, locale en-GB)
• Flutter version 2.2.3 at /Users/tahatesser/Code/flutter_stable
• Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/tahatesser/Code/SDK
• Platform android-31, build-tools 30.0.3
• ANDROID_HOME = /Users/tahatesser/Code/SDK
• Java binary at: /Users/tahatesser/Code/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Xcode 13.0, Build version 13A5212g
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (version 2020.3)
• Android Studio at /Users/tahatesser/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android Studio.app/Contents
• 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
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] VS Code (version 1.59.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.25.0
[✓] Connected device (4 available)
• Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS 14.7.1
• iPhone 12 (mobile) • 7CC8A747-CD39-4C42-871C-2D1CCEAE2AE2 • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 12.0 21A5304g darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
! Doctor found issues in 1 category. [✓] Flutter (Channel master, 2.5.0-7.0.pre.130, on macOS 12.0 21A5304g darwin-x64, locale en-GB)
• Flutter version 2.5.0-7.0.pre.130 at /Users/tahatesser/Code/flutter_master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d83fba1a22 (4 hours ago), 2021-08-18 03:02:04 -0400
• Engine revision a27da3eeb6
• Dart version 2.15.0 (build 2.15.0-24.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/tahatesser/Code/SDK
• Platform android-31, build-tools 30.0.3
• ANDROID_HOME = /Users/tahatesser/Code/SDK
• Java binary at: /Users/tahatesser/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Users/tahatesser/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android Studio.app/Contents
• 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.10+0-b96-7281165)
[✓] Android Studio (version 2020.3)
• Android Studio at /Users/tahatesser/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android Studio.app/Contents
• 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.10+0-b96-7281165)
[✓] VS Code (version 1.59.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.25.0
[✓] Connected device (4 available)
• Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS 14.7.1 18G82
• iPhone 12 (mobile) • 7CC8A747-CD39-4C42-871C-2D1CCEAE2AE2 • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 12.0 21A5304g darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
• No issues found!
Your issue looks similar to #67222 |
here is happening the same... |
A workaround that worked here is running on the xcode but you do not have the power of hot reload. |
deleting flutter_tools.stamp did not work, using new download from flutter.dev its work only using xcode with terminal still the same error in xcode debugger output
|
Hi @rymesaint On stable channel RPReplay_Final1629297653.movOn master channel RPReplay_Final1629299247.MP4Does something happens if you wait few seconds on the blank screen? App closes or stays as it is? |
I am having the same issue on iPhone with iOS 14.7.1. I just created a new empty project and tried to run it from Xcode, and a white screen appears on the device and stays there forever. This is the log on Xcode's terminal:
From VSCode, running
Although it says My flutter doctor:
|
Could not launch engine with configuration
@rymesaint You mean you deleted your Flutter cache, downloaded it again from the website, and still see the same error? @MateusHBR @daniloapr can we get your
@MateusHBR you only see it from the terminal, not from Xcode? For anyone reproducing this, can you zip up and attach your entire project directory? This will include your actual app, so you may want to reproduce with a newly created |
I changed flutter branch to master and back to stable. |
@ristiisa Can you just attach the zip to GitHub? What's your |
The folder is 160MB, github shows me an error(I did not crop it, that is the entire message): What I interpret as "file too large". I can solve the issue with deleting flutter folder and downloading the latest stable pack, but the problem is back after switching to master.
|
@ristiisa The wetransfer link doesn't open for me, can you share it another way? |
i saw the problem on Vscode and terminal. In xcode it works fine. A solution that i found is run the project once on xcode, stop xcode running, after that try run on terminal or vscode and the problem got solved. Flutter version:
flutter foctor -v:
|
|
I'm able to reproduce this by downgrading from any other channel to stable. On stable 2.2.3 downloaded from the website
However, when you downgrade from any other channel to stable it instead contains:
It contains the newer Sure enough I can see the Flutter.framework Info.plist Another version of old cache files not being cleaned up. Steps to reproduce
Workaround
|
Could not launch engine with configuration
Could not launch engine with configuration
@MateusHBR @rymesaint @daniloapr Can you confirm this workaround works for you? |
ok this one solve the problem thanks |
https://drive.google.com/file/d/1_Eh305syqpAHbKJILHy33srA8y4Sa2Qm/view?usp=sharing
|
Closing as duplicate of #85062. The workaround is to stay on the beta channel until the next stable, or to run the following after switching to 2.2.3:
|
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 |
When running the app on physical device it got stuck at installing and launching and only blank white screen appear.
iOS : 14.7.1
xcode : 12.5 or 13 beta still not fix the problem
Emulator : working properly
Info.plist information for local networking still not working
flutter clean or recreate ios folder using flutter create . did not help, i'm running out option
Logs
The text was updated successfully, but these errors were encountered: