Skip to content Skip to sidebar Skip to footer

Migration To Androidx Missing In Android Studio

I am trying to migrate my project to androidX. The project i am trying to migrate is based on android support libraries AppCompat. In the Developer Documentation it says that you c

Solution 1:

"Refactor to AndroidX" option is available for AndroidStudio 3.2 stable and later. https://developer.android.com/studio/

Solution 2:

Switch to "Android" or "Project" tab in the file navigation window. And right click on your parent folder and go to refactor, there listed "Migrate to android" option. It is very simple. In case of any mistakes in migration we can switch back to appcompat version using "migrate to appcompat" under same menu.

Solution 3:

If you have the same problem after you updated AndroidStudio to 3.2 or later, you can modify your ***.kts to ***.gradle. I solved my problem this way.

Post a Comment for "Migration To Androidx Missing In Android Studio"