I am trying to run a flutter windows app but I am facing the following error: Unable to start engine without AOT data. Failed to create view controller. Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows in Flutter. We are going to Learn about All Possible Solutions So Lets Get Start with This Article.
- How Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows Error Occurs ?
- How To Solve Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows Error ?
- Solution 1: Paste app.so File
- Solution 2: Use Visual Studio 2019
- Summary
How Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows Error Occurs ?
I am trying to run a flutter windows app but I am facing the following error.
Unable to start engine without AOT data. Failed to create view controller. Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows.
So here I am writing all possible solutions that I have tried to resolve this error.
How To Solve Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows Error ?
How To Solve Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows Error ?
To Solve Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows Error If You are using Visual Studio 2022 Then You Might face this issue So try to uninstall Visual Studio 2022 and then Install Visual Studio 2019 and then run your windows app now, your error must be solved and you will be able to run the flutter windows app without any error. Thank You.
Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows
To Solve Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows Error You Just Need To Copy and Paste app.so file it into the given Directory and then you can run the flutter windows app. Just follow below all steps. First of all Open Your Your_project\build\windows folder. You can see there is file named app.so. Just Copy app.so and Paste this file on Your_project\build\windows\runner\Debug\data. Now, Your problem is solved. And Now, You can run Your windows app with flutter.
Solution 1: Paste app.so File
You Just Need To Copy and Paste app.so file it into the given Directory and then you can run the flutter windows app. Just follow below all steps.
- First of all Open Your Your_project\build\windows folder.
- You can see there is file named app.so.
- Just Copy app.so and Paste this file on Your_project\build\windows\runner\Debug\data.
- Now, Your problem is solved.
- And Now, You can run Your windows app with flutter.
Solution 2: Use Visual Studio 2019
If You are using Visual Studio 2022 Then You Might face this issue So try to uninstall Visual Studio 2022 and then Install Visual Studio 2019 and then run your windows app now, your error must be solved and you will be able to run the flutter windows app without any error. Thank You.
Summary
It’s all About this error. Hope We solved Your error. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read