I got such errors when I was developing my first flutter application. I downloaded github projects (flutter first app examples), created a new project myself. I've been searching for 2 hours and still can't solve my problems:( please help! I updated flutter from terminal, I used flutter doctor, flutter upgrade flutter clean flutter pub get
CodePudding user response:
I guess this isn't a flutter project!
let's say you installed flutter correctly and you added the path.
navigate to your folder when you want to create your first flutter project and run cmd
in the terminal run, this command flutter create my_first_project
or any name you want.
in vs code opens the folder you've just created (my_first_project)and you're good to start.
android emulator must be installed!