What is the minimum SDK version should I choose? (as in Nov 2018)

十年热恋 提交于 2020-01-01 16:47:08

问题


As I am aware, default min SDK set in android studio is 15. I have read that I should increase it as there aren't many (or maybe none) who is still using that android version. Plus, I am planning to use some new features in android studio which only works in higher API.

May I know, as for now what would be your minimum SDK version, so as to guide me choose mine.


回答1:


The Android Dashboard may answer your question. It contains the most accurate distribution of Android versions with an average delta of 7 days. The current page claims :

Data collected during a 7-day period ending on October 26, 2018.

So you're pretty accurate with this.

To answer your question, based on the dashboard, targeting the API version 19 will cover 96.5% of all current Android devices worldwide




回答2:


As of October 26, 2018, devices using API level below 16, is quite low(less than 0.5%). Take a look here

In my opinion, if you target API level 16, you get around 99.5% of all devices. Thats the sweet spot between primitive APIs and latest ones. Almost any open source and popular projects still gives support up to API level 16



来源:https://stackoverflow.com/questions/53250247/what-is-the-minimum-sdk-version-should-i-choose-as-in-nov-2018

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