Common Questions

How do I migrate my existing app, plugin or host-editable module project to AndroidX?

You will need Android Studio 3.2 or higher.
If you don’t have it installed,
you can download the latest version from the
Android Studio site.

Open Android Studio.

Select Open an existing Android Studio Project.

Open the android directory within your app.

Wait until the project has been synced successfully.
(This happens automatically once you open the project,
but if it doesn’t, select Sync Project with Gradle Files
from the File menu).

Select Migrate to AndroidX from the Refactor menu.

If you are asked to backup the project before proceeding,
check Backup project as Zip file, then click Migrate.
Lastly, save the zip file in your location of preference.

The refactoring preview shows the list of changes.
Finally, click Do Refactor: