[SOLVED] Play Support Libraries Installing

Concerned by the notification ”Play support libraries – Installing…” on your Android phone and want to find more information about Play support libraries? In that case, you have come to the right place. This article could tell you everything about Play support libraries from their nature to their role on Android OS. Read to the end to be able to grasp the characteristics of Play support libraries and let go of your worry. 

Breakdown Of Android Support Library

What Exactly Is Android Support Library

Generally speaking, Android Support Library is in essence a package that consists of code libraries. Such libraries serve as resources used to build features and functions into apps. Aside from that, every library supports a specific level of Android Application Programming Interface (API). The best thing about Android Support libraries is that their improvements and updates do not depend on releases of Android versions.

At the moment, two types of packages exist:

  • One set of libraries offers features of newer Android versions on devices that run older versions of Android. 
  • One set of libraries offers standalone features for all Android versions. 

Effects Of The Installation Of Library

If your device experiences performance issues like lagging after the notification ”Play support libraries – Installing…” appeared, there is no need to panic. At a glance, it might look like a virus has infected your phone but that is not the case here. It’s not uncommon for Android devices to run into minor hiccups for a few minutes after the initiation of Play support libraries finishes. Therefore, you don’t have to do a thing as your Android phone would go back to normal before long. 

An Overview Of Library Packages 

Android Support Library package contains many libraries that could be included in applications. Below is a brief description of every Android support library as well as the API level that each of them supports:

  • v4 Support Library: This support library is made for Android 1.6 or API level 4 and higher.
  • v7 Support Library: The library is designed for Android 2.1 or API level 7 and higher
  • v8 Support Library: This one is made specifically for Android 2.2 or API level 8 and higher.
  • v13 Support Library: Designed to work with Android 3.2 or API level 13 and higher.

Note: the name of a support library package usually ends with the minimum Android API version supported by the libraries.

How To Download Support Library

Nowadays, you should be able to get the Android Support Library package on Android SDK Manager. It’s wise to take into account the feature you want to use in your app before installing support library packages. Down below is the way to download a support library package via the SDK Manager.

  • Step 1: Launch Android SDK Manager.
  • Step 2: Look for the Extras folder, select Android Support Library and choose Install packages. 
  • Step 3: Wait as the package is being downloaded and installed in the Android SDK directory.

Note: Unable to download and install Support Library Package using Android SDK Manager? Then feel free to make use of Google’s Maven repository.

Insights Into Choosing And Adding Support Libraries

How To Choose A Library

Prior to adding a Support Library to your app, it is a good idea to establish the lowest Android version you would like to support and the features you want to include. Many Support Library Features exist so you need to decide the ones you want to have.

How To Add A Library 

For you to use a support library, you must modify the app’s project’s classpath dependencies and the procedure must be repeated for every Support Library you will want to use. Here is what you have to do to add a Support Library to your app project.

  • Step 1: Add Google’s Maven repository in settings.gradle file of your project.
  • Step 2: Go to the module’s build.gradle file and add a support library in the dependencies block. That applies to every module that you want to use an Android Support Library. For instance, you can add the following if you add the v4 core-utils library.

dependencies {

    …

    implementation “com.Android.support:support-core-utils:28.0.0”

}

If you use dynamic dependencies, there are high chances of encountering regression incompatibilities and unexpected version updates. Because of that, it’s wise to specify the library version explicitly. Here is an example, use palette-v7:28.0.0 rather than using palette-v7:23.0.+.

Is There An Easy Way To Determine All The Classes Included In A Library?

On older support libraries, it is somewhat confusing to tell which classes you can find in a particular library only by looking at its name. However, following the release of AndroidX Package Libraries and Android Jetpack in 2018, you should be able to organize your support libraries at your leisure. On average, there is no need to pay attention to the library’s version as Jetpack already knows the code to use.

What Is An Android Support Library Improvement?

Developers had used Android support libraries to improve their apps long before mobiles integrated the features into their phones. For instance, the presence of Android support library enabled people who own phones running Android 6.0 to run applications with improvements introduced on Android 8.0 without updating the OS to Oreo.

Is It Possible To Add Several Support Libraries In A Single App?

Yes, it’s possible. You can include more than one Support Library but the minimum SDK version has to be the highest version the specified libraries require. Here is an example: your minimum SDK version when using the v14 Preference Support Library and v17 Leanback Library in your app must be 17 or higher.