Home > Enterprise >  How to recreate android folder in flutter project
How to recreate android folder in flutter project

Time:04-27

I deleted the android folder of my flutter project (Thought I could get rid of the errors that appear while running old projects).

How can I create that android folder? any commands?

CodePudding user response:

Navigated to the root of my project and ran flutter create

Basically telling flutter to try and repair all the damaged and / or missing files in you project.

CodePudding user response:

Inside your project root, run:

flutter create .

This will generate/repair any missing files or folders (like /android)

Reference

  • Related