KonTash
KonTash

Reputation: 420

Exception: Unable to generate build files for window build

while trying to run flutter desktop application I am getting this issue,I installed visual studio 2019 (v 16.10.1 latest) and all the set up has been done as mentioned in documentation. Here is the snippet from flutter doctor.
Flutter Doctor snippet

The issue is that while running default counter app in window desktop I am getting error saying

Exception: Unable to generate build files
error image

There is no detail error or log for this, please can anyone tell me what is the issue here.
Updated:
So I trun command flutter -v run -d windows and I got this error
In log. Please let me know what is this issue about Thanks

Upvotes: 1

Views: 5392

Answers (1)

KonTash
KonTash

Reputation: 420

Solved, I spend three days on this,I thought it was laptop issue.
It is weird because in error it does't say anything.

All I had to do was download and install visual studio redistributable.

Upvotes: 2

Related Questions