AndroidX or "No more stress with the compatibility of the Android Support Libraries"

Android already have 10 years since it has been release and of course, numerous versions with new features added and constant improvements.  Developers had to make sure they have always the same version of the Android Support Library or otherwise some problems might appear in Gradle.
Ta-na-na! the solution is migrating to AndroidX.


- Android Studio has to be 3.2.1(Toolbar-Help-About to check the android version);
- You need to have compile at least have compileSdk 28(Android 9.0);
- In build.gradle(Project) has to be classpath com.android.tools:gradle:3.2.1

How to migrate: Toolbar->
                           Refractor->
                           Migrate to AndroidX.

I It t will appear a message of possible errors and then the option “Do Refractor”. Also, the option to zip the project folder and to save it somewhere in your computer. In a few moment the Gradle will sync, I personally didn’t have any problems with my project.

Popular posts from this blog

Artificial Intelligence(AI) and Machine Learning(ML) explained for everybody

Earn money giving your product for free – The monetisation

Learn Android by yourself