简体   繁体   English

选择最低Android App SDK

[英]Choosing Minimum Android App SDK

I know there is other questions about how to choose min SDK but they are seems to old. 我知道还有其他关于如何选择min SDK的问题,但它们似乎已经过时了。 In the current situation which sdk can be choosen as min sdk? 在目前的情况下,sdk可以选择为min sdk? And how important is it, I mean If I choose for example 4.3 version over 5.0 What are the newly enabled features in 5.0 but not available in 4.3,what am I going to lose? 它有多重要,我的意思是如果我选择例如4.3版本的5.0 5.0版本中新增功能但4.3版本不可用,我将失去什么?

This link provides you with all the information you need to know... you can get all the recent statistics.. https://developer.android.com/about/dashboards/index.html 此链接为您提供了解所需的所有信息...您可以获取所有最新统计信息.. https://developer.android.com/about/dashboards/index.html

and to get Changes with respect to API 21 Refer this link.. It has complete details on what you get extra by using API 21 and what you dont get in older versions... https://developer.android.com/about/versions/android-5.0.html 并获得有关API 21的更改请参阅此链接..它包含使用API​​ 21获得额外内容的完整详细信息以及旧版本中未获得的内容... https://developer.android.com/about/版本/ Android的5.0.html

When you are creating a new app. 在创建新应用时。 You get the option what minimum api you will go for. 您可以选择最小的api。 On that page there is a link "Help me choose" 在该页面上有一个链接“帮我选择”

在此输入图像描述

You will be greeted by a chart like the picture above. 您将看到如上图所示的图表。 It is up to you. 它是由你决定。 But i would suggest API 16 since it has most support from libraries i have used and you cover most phones 但我会建议使用API​​ 16,因为它支持我使用过的图书馆并且你覆盖了大多数手机

您可以从developer.android.com仪表板查看平台版本统计信息,以查看运行给定版本Android平台的设备的相对数量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM