Difference Between AndroidX and Android Support Libraries Last Updated : 23 Jul, 2025 Comments Improve Suggest changes Like Article Like Report Support library packages in Android are a set of code libraries whose prime purpose is to provide backward-compatibility to the code and Android API framework. In the real world, there is a strong possibility that an application that is developed on the latest Android version is used on an older version of Android OS. Thus, including the support libraries in the project files is the best practice to follow while developing android applications. Further, these libraries are also needed for the features which are provided only through library API. Android Support Libraries(com.android.support) These library packages are provided by Google to provide backward compatibility to android applications. The name of these packages ends with the minimum version of Android API supported by the libraries. For example, package name support-v4 and the support-v7 indicate that the minimum supported Android API version is 4 and 7 respectively. However, the continuous advancement in library function and modules leads to the minimum supported Android API level version changed to level 14(Android 4.0) along with the release of support library version 26.0.0 in July 2017. AndroidX Package Libraries(androidx.*) Introduced along with the release of Android Jetpack in 2018, AndroidX is a brand new way of organizing the support libraries. The older support libraries were somewhat confusing for the developers as one cannot say that which all classes are included in a particular library just by looking at its name. To address this issue, Google launched AndroidX(stands for Android E X tension) libraries with the release of Android 9.0 (API level 28). Any library name which starts from androidx. is automatically becomes part of the Jetpack. It includes the existing android support library along with the latest Jetpack components. Moreover, developers need not bother about the version of libraries because Jetpack knows what code to use. Difference TableAndroid Support Libraries AndroidX Package Libraries Syntax of writing dependency: com.android.support:recyclerview-v7Syntax of writing dependency: androidx.recyclerview:recyclerviewWhile using support libraries in the project, it is mandatory to keep the same version for all the support libraries.Developers are free to use a different version of dependency for different android components.Dependencies that are required to add in order to use an android component in the application include various other things that are of no use. Developers are allowed to add only those dependencies which they are going to use in the application.The package of support library is bundled with the Android operating system. For eg: android.content.IntentUnbundled libraries are moved to androidx.* namespace and are packed with application's APK. For eg: androidx.fragment.app.FragmentThe package name contains the minimum supported API level.The package has no dependency on the API level.All dependencies are required to update before using because all the support libraries need to have the exact same version specification.AndroidX libraries can be updated individually. Thus, developers can update only those libraries which are needed in the project.The support of com.android.support libraries have been stopped by Google.It is the recommended library package by Google to use in the project. Note: With the release of Android API level 28 i.e, Android 9.0, Google has stopped the support for com.android.support libraries and advised the developers to use AndroidX libraries which are a part of Jetpack for all new projects. To know what is the new mapping of support libraries in AndroidX, click here. Google also provide the feature to migrate an existing project in order to use the AndroidX libraries. Visit this link to read the official Google documentation. Comment More info R RISHU_MISHRA Follow Improve Article Tags : Technical Scripter Difference Between Android Technical Scripter 2020 Explore Android Tutorial 15+ min read BasicsIntroduction to Android Development 5 min read History of Android 15+ min read Best Way to Become Android Developer â A Complete Roadmap 7 min read Android Development Prerequisites [2025] - Things to Learn Before Android Development 8 min read Android App Development Fundamentals for Beginners 6 min read Android Architecture 5 min read Android System Architecture 3 min read Android Boot Process 4 min read Difference between Java and Kotlin in Android with Examples 3 min read Interesting Facts About Android 3 min read Software Setup and ConfigurationDownload and Instal JDK on Windows, Mac and Linux 7 min read Guide to Install and Setup IntelliJ IDEA for Android App Development 5 min read Guide to Install and Setup Visual Studio for Android App Development 4 min read How to Run the Android App on a Real Device? 2 min read Resolving frequently occurring errors in Android Development 3 min read Android Studio Tutorial 9 min read File Structure & ComponentsComponents of an Android Application 3 min read Introduction to Activities in Android 6 min read Services in Android with Example 10 min read Core TopicsHow Does Android App Work? 7 min read Activity Lifecycle in Android with Demo App 9 min read Introduction to Gradle 4 min read What is Context in Android? 9 min read Bundle in Android with Example 6 min read Activity State Changes In Android with Example 6 min read Processes and Application Lifecycle in Android 7 min read Desugaring in Android 4 min read Difference Between AndroidX and Android Support Libraries 3 min read Memory Leaks in Android 7 min read Layout & ViewLayouts in Android UI Design 3 min read Android UI Layouts 5 min read LinearLayout and its Important Attributes with Examples in Android 3 min read Android LinearLayout in Kotlin 2 min read Android RelativeLayout in Kotlin 4 min read ConstraintLayout in Android 6 min read TextView widget in Android with Examples 5 min read TextView in Kotlin 3 min read Working With the TextView in Android 7 min read Autosizing TextView in Android 6 min read ButtonButton in Android 3 min read How to Add Radio Buttons in an Android Application? 5 min read RadioButton in Kotlin 4 min read How to add Toggle Button in an Android Application 3 min read ToggleButton in Kotlin 2 min read RadioGroup in Kotlin 3 min read Intent and Intent FiltersWhat is Intent in Android? 4 min read Implicit and Explicit Intents in Android with Examples 6 min read How to Send Data From One Activity to Second Activity in Android? 7 min read How to open dialer in Android through Intent? 3 min read Creating Multiple Screen Applications in Android 6 min read How to Open Camera Through Intent and Display Captured Image in Android? 6 min read Toast & RecyclerViewToasts for Android Studio 2 min read What is Toast and How to Use it in Android with Examples? 6 min read Android Toast in Kotlin 3 min read How to Change Toast font in Android? 3 min read How to add a custom styled Toast in Android 4 min read RecyclerView in Android with Example 7 min read Android | Horizontal RecyclerView with Examples 4 min read How to create a nested RecyclerView in Android 5 min read How to Create RecyclerView with Multiple ViewType in Android? 6 min read RecyclerView using ListView in Android With Example 5 min read Like