Ebrahim Althaibani
Ebrahim Althaibani

Reputation: 49

error when i create flutter project from android studio

i installed all SDK and plugin
when i create flutter project, it alert error that is

error create project: Could not find an option named "platforms". Run 'flutter -h' (or 'flutter -h') for available flutter commands and options.

and there is appear add configuration.

like this image

Upvotes: 4

Views: 3116

Answers (2)

J.Correa
J.Correa

Reputation: 11

Got this error as well, to fix I did the flutter upgrade -f, and upgraded my Android Studio to the latest version.

Upvotes: 0

Salama Jatau
Salama Jatau

Reputation: 71

In android studio terminal type flutter upgrade -f. After the upgrade, create a new flutter project.

More details here

Upvotes: 7

Related Questions