Migrate to AndroidX

Опубликовано: 09 Сентябрь 2022
на канале: Dev Tools Made Simple
101
0

#androidx #android #androidstudio #codeoptimization #intellij #migration

n this video, we will show you how to migrate your existing Android project to AndroidX using Android Studio 3.2 and higher.

It's worth considering that most library ecosystems already support AndroidX natively, so your project may already be using AndroidX libraries directly. However, if you do need to migrate, simply select Refactor - Migrate to AndroidX from the menu bar.

Keep in mind that the built-in Android Studio migration may not handle everything, so depending on your build configuration, you may need to update your build scripts and Proguard mappings manually. If you maintain your dependency configuration in a separate build file, use the mapping files mentioned in the previous text to review and update your dependencies to the corresponding AndroidX packages. Lastly, if your project already has the enableJetifier flag turned on, you can run Build Analyzer's Jetifier check to confirm if it's actually needed.


Смотрите видео Migrate to AndroidX онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dev Tools Made Simple 09 Сентябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10 раз и оно понравилось людям.