Recommended Minimum Android App SDK

这一生的挚爱 提交于 2019-12-20 09:28:38

问题


I am making an android app, and am wondering what the industry's thoughts are on supporting older android versions like GingerBread and FroYo. Should a developer like me take the extra step to make my app compatible with those older versions, or are they obsolete? I am speaking in terms of the market in 2014.

Increasing my minimum SDK version opens up some more APIs, so which option should I pick, compatibility or APIs and features?


回答1:


Most of the Android devices are above the Gingerbread level. But there are still a decent number of those devices out there. You, as a developer, must decide if the number of users who would potentially download your app for those versions of Android is worth the level of effort in developing the app for those versions. For the past year, both companies I've worked at have begun to work on 4.0 and above only and have forsaken the lower versions.

To get the current information on what the ecosystem looks like for Android, check out Google's dashboard

As I write this comment, Gingerbread and below is around 15% of the total population.

2019 UPDATE: Google's dashboard states that only 0.2% of Android users are running Gingerbread (Android 2.3). Around 3% are using Jelly Bean (Android 4.1/4.2/4.3), and 7.6% are running KitKat (Android 4.4).

Generally, companies target a minimum version of KitKat, or SDK 19, for new endeavors. For personal projects, we usually choose Lollipop, or SDK 21, as it brings a number of improvements to the table, such as improved build times.




回答2:


You need to base on Android Pie Chart . It is always updated.

here's the link of the dash board:

https://developer.android.com/about/dashboards/index.html




回答3:


For those who are looking for an opinion to refer to, @minSdkVersion updates their Twitter account when they deem it appropriate to start using a higher minimum SDK version. They claim

The minimum SDK version for the practical, rational developer.

As others have mentioned, it's also worth checking the Android platform distribution.




回答4:


There were only few (~10) percent of users with Gingerbread to download our application from Play Store, so we have decided not to support it anymore. It was about 7 months ago. Froyo and Honeycomb are dead for much longer time.

We would go with Android 4.0 (API 14) as minimum for new projects. There is no real benefit from supporting older version unless you are forced to do so (client requested it, etc.).




回答5:


I'm a developer myself. I would look into this from multiple point of view and I would use several factors to begin a project with a particular sdk as minimum.

Beside the chart, that Google is kind enough to publish, which is really helpful and informative and i believe it represents devices around the world.

These are the factors I would take under consideration:

  1. What's my app all about? What kind of people and what kind of age range would attract. Young people tend to keep their gadgets up-to-date.

  2. In which country I'm going to release my app? Not all countries have the same mainstream when it comes to technology.

  3. Does the minimum sdk affects the time or the resources that are going to be used in the app? If having a high sdk as minimum is inversely proportional with the time and the struggle my developers would face in order to make everything compatible, then I would choose a higher sdk, even if I have to exclude a small proportion of users. Let's face it, this is 2016. Technology is running faster than light. Releasing early really matters. In the other hand, if it really doesn't affect that much, then just choose a version that covers most devices.

  4. Security matters as well. Everyday new issues are being patched. Newer version is more secure.

  5. If the idea is powerful, than I would choose as higher as I could. People will follow. Is the truth.

  6. Many functionalities are being deprecated. And usually in older versions. Upgrading from those can be hell.

Can't think of anything else. But if you want my opinion, I would choose API 19 as minimum.

Cheers.




回答6:


Note the new directive from Google around the dropping of support for ICS (sdk 14 and 15). Recommended course of action is to set your minimum to 16. See https://android-developers.googleblog.com/2018/12/google-play-services-discontinuing.html

Note that existing apps will continue to work ok.



来源:https://stackoverflow.com/questions/24441178/recommended-minimum-android-app-sdk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!