Exception: Unable to generate build files for window build

1,716

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.

Share:
1,716
KonTash
Author by

KonTash

Updated on December 22, 2022

Comments

  • KonTash
    KonTash over 1 year

    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