Reputation: 49
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
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
Reputation: 71
In android studio terminal type flutter upgrade -f. After the upgrade, create a new flutter project.
More details here
Upvotes: 7