Create a new basic project with an Empty Activity
Open the app/build.gradle
file
Click Refactor/Migrate to AndroidX...
Expected results
- The refactoring preview must show
- It will list all the references to the old
android.support
artifacts, packages and classes.
Click Do Refactor
Expected results
- Refactoring will execute. The project does not contain references to any of the old
android.support
classes. - Project compiles (this requires the actual androidx dependencies to be available)