Prantik
Prantik

Reputation: 67

androidx command not found

I wanted to create a flutter project with androidx enabled by command. but I founded this. I upgrade flutter but not working

$ flutter create --androidx hello_world
Could not find an option named "androidx".

Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.

Upvotes: 0

Views: 487

Answers (1)

Matthias
Matthias

Reputation: 426

To create a new project run:

flutter create -t <project-type> <new-project-path>

Ref: https://flutter.dev/docs/development/androidx-migration

Upvotes: 1

Related Questions