Home > Software design >  There is no pubspec.yaml file in android studio but project runs just fine how?
There is no pubspec.yaml file in android studio but project runs just fine how?

Time:09-22

enter image description here

There is not pubspec.yaml file how should I edit it now?? The project is running just fine without any errors.

CodePudding user response:

All you have to do is click the Android button in the upper left corner and select the Project button. You will see pubspec.yaml. If you don't see pubspec.yaml, you can leave a comment.

CodePudding user response:

Well, you have opened the android folder which is inside the main folder.

The flutter has the file structure as enter image description here

The pubspec.yaml file resides in the main folder

CodePudding user response:

Flutter cannot run without pubspec.yaml file. You are just looking into the android file of it.

Android View

Project View

Instead of android choose project from the drop down menu and you can see pubspec.yaml file again

  • Related