Google Play Services will stop supporting the "Jelly Bean" platform

Google Play Services will stop supporting the "Jelly Bean" platform

Google Play officially announced that future versions of Google Play services will no longer support the Android Jelly Bean (hereinafter referred to as JB) platform, corresponding to API levels 16, 17, and 18.

[[410425]]

The JB platform was first released nine years ago, and as of July 2021, its number of active devices has fallen below 1%. In addition, Android has released many optimizations and features, but none of them have been synchronized to JB, which has increased the time developers and QA spend on new features that require special processing. Therefore, the official said that starting from August 2021, Google will no longer update Play services APKs beyond version 21.30.99 for devices running JB.

For developers, applications that support API levels 16 to 18 can continue to be built and released to devices running JB, but may encounter build errors when updating to newer SDK versions. In this regard, the official provides two suggestions:

Set the minSdkVersion value in your app's build.gradle to 19 to use API level 19 as the minimum supported API level. If you publish your app to the Play Store this way, users of devices that support a lower level than that will not be able to see or download the update. However, they will still be able to download and use the most recently released version of your app for their device.

With configuration and code management, build multiple APKs to support different minimum API levels and use different versions of Google Play services, for example by defining two different app configurations in build.gradle.

  1. productFlavors {
  2. legacy
  3. minSdkVersion 16
  4. versionCode 101 // Min API level 16, v01
  5. }
  6. current
  7. minSdkVersion 19
  8. versionCode 1901 // Min API level 19, v01
  9. }
  10. }
  11. dependencies {
  12. legacyCompile 'com.google.android.gms:play-services:16.0.0'  
  13. currentCompile 'com.google.android.gms:play-services:17.0.0'  
  14. }

For more details, please refer to its official announcement.

This article is reproduced from OSCHINA

Title of this article: Google Play Services will stop supporting the "Jelly Bean" platform

Article URL: https://www.oschina.net/news/149701/google-play-service-discontinue-support-jelly-bean

<<:  High refresh rate has become a trend: the share of 60Hz screen Android models has dropped to 40%

>>:  Detailed explanation of APT application (hand-in-hand teaching you to write ButterKnife tool)

Recommend

Branding: How to write a proposal?

As a third-party company, when we want to BD a ne...

IBM Enterprise Social Solutions: Efficiently Connecting the World

At the CeBIT exhibition, the IBM exhibition area,...

Microsoft may add network speed test function to Bing search

Microsoft Bing is developing very well in the Uni...

New progress! The world's longest undersea road tunnel begins its "sea journey"!

On January 26, the construction of the Qingdao Ji...

Shanshanyu 2021 Portrait Basic System Class 1

Shanshanyu 2021 Portrait Basic System Class 1 Int...

A nanny-level guide for beginners to create Tik Tok videos (Part 1)

Today, I will introduce to you some tips on how t...

Product Operations: How to develop a growth strategy for a product?

After the concept of growth hacking was introduce...

Operators must read: 19 ways to promote APP for free

It is easy to develop an app, but difficult to ge...

Kuaishou short video advertising platform gameplay + case introduction!

Kuaishou is a well-known short video application ...

To spread toxic content, you must master the art of social copywriting (Part 1)

Today’s media is everyone, and today’s communicat...