Go to the root of the project and just run this command. It will solve the problem.: flutter create --platforms=android .