Check Mobile App
Read now
Start a Project

Migrate Android Project with AndroidX


In this blog, we will learn how to migrate Android Project with AndroidX.

AndroidX is redesigned library to make package names more clear.

So from now Android hierarchy will be for only android default classes, which comes with android operating system.

Other library/dependencies will be part of AndroidX (Makes more sense). So from now all the new development will be updated in AndroidX.

Mapping of Old Package to New Package

When you migrate your current application with AndroidX, library/dependencies name will be changed.** : androidx. : androidx.appcompat:appcompat : androidx.recyclerview:recyclerview :
android.arch.core:common : androidx.arch.core:core-common:2.0.0-rc01

You can check all the change packages name here -> AndroidX changed Packages Name

To know the history of AndroidX, you can also check Android Developer Blog Post -> AdnroidX Developer Post

How To Migrate Android Project

If you want to migrate already existing project, then simply follow these steps ->

Android Studio(Android Studio 3.2 and higher) -> Refactor -> Migrate To AndroidX

When you migrate your project, it will automatically change all the packages name.


For new project, just put these lines in ->

And with this you complete your task to “Migrate Android Project with AndroidX”.

Note: Min SDK version should be 28.


. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.


Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.

Talk to Sales


Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home