close

[Solved] Error launching application on Windows in flutter

Today I am trying to start the windows app in my flutter project but I am facing the following Error launching application on Windows in a flutter. We are going to Learn about All Possible Solutions So Lets Get Start with This Article.

How Error launching application on Windows in flutter Occurs ?

I am trying to start the windows app in my flutter project but I am facing the following:

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 launching application on Windows in flutter?

  1. How To Solve Error launching application on Windows in flutter?

    To Solve Error launching application on Windows in flutter 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 issue must be solved.

  2. Error launching application on Windows in flutter

    To Solve Error launching application on Windows in flutter You just need to Copy app.so file and Paste it Into a certain directory. First of all Open Your \build\windows folder there you can see app.so file Just Copy this file and paste it on \build\windows\runner\Debug\data, Now your error must be solved.

Solution 1: Copy and paste app.so

You just need to Copy app.so file and Paste it Into a certain directory. First of all Open Your \build\windows folder there you can see app.so file Just Copy this file and paste it on \build\windows\runner\Debug\data, Now your error must be solved.

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 issue must be solved.

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

Leave a Comment