Can't find main.dart in my new flutter project in Android Studio

647 views
Skip to first unread message

Vanya Singh

unread,
Dec 26, 2021, 4:02:22 PM12/26/21
to Flutter Development (flutter-dev)

errortckr1.png
I have created a new flutter project and I don't know where the main.dart or pubspec.yaml files are. If you have any ideas please let me know.

Ralph Bergmann

unread,
Dec 26, 2021, 9:28:31 PM12/26/21
to Vanya Singh, Flutter Development (flutter-dev)
It looks like something went wrong when creating the Flutter project. I think the best is to create it again.

Vanya Singh

unread,
Dec 27, 2021, 2:13:04 PM12/27/21
to Flutter Development (flutter-dev)
Well I did try but it didn't work. I found a solution. So I started the project from Terminal and everything was there.

Vanya Singh

unread,
Dec 27, 2021, 2:14:53 PM12/27/21
to Flutter Development (flutter-dev)
I looked back in the build your first flutter app code lab there is instructions on how to start from terminal. I used that to help me.
Reply all
Reply to author
Forward
0 new messages