There is no lib folder and no pubspec.yaml file

58 Views Asked by At

I updated my android then when I open new flutter project there is no lib folder and no pubspec.yaml file:

and these errors occurred:

I tried to redownload gradle but the errors still there I searched for solution but I did not found any helpful answer

1

There are 1 best solutions below

0
MendelG On

Your opening the wrong directory. Do not open the Android folder instead open the Flutter project directory.

You might also just be displaying the incorrect view. So select it:

enter image description here

However, regarding the error you recieved, not neccessaraly does it have to do with opening the incorrect directory, you can google for your answer.