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?
Inside your project root, run:
flutter create . --platforms=android
This will (re) generate missing files or folders inside the android folder.
For all currently supported platforms:
flutter create . --platforms=android,windows,linux,web,macos,ios
Or simply:
flutter create .