AndroidX migration Manual Test

Simple test

  1. Create a new basic project with an Empty Activity

  2. Open the app/build.gradle file

  3. Click Refactor/Migrate to AndroidX...

    Menu option

    Expected results

    • The refactoring preview must show Do Refactor Screen
    • It will list all the references to the old android.support artifacts, packages and classes.
  4. 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)