androidX

true

# Add this line.

Finally, run flutter clean.

If your module contains an android directory instead,
then follow the steps in previous section.

How do I know if my project is using AndroidX?

Starting from Flutter v1.12.13, new projects created with
flutter create -t <project-type>
use AndroidX by default.

Projects created prior to this Flutter version
mustn’t depend on any old build artifact or
old Support Library class.

In an app or module project,
the file android/gradle.properties
or .android/gradle.properties
must contain:

What if I don’t migrate my app or module to AndroidX?