简体   繁体   English

2021 年推荐的最低 SDK

[英]Recommended Minimum SDK for this 2021

I want to ask about Android Studio.我想问一下Android Studio。 What is the recommended Minimum SDK for this 2021, I'm currently using api target SDK 31? 2021 年推荐的最低 SDK 是多少,我目前使用的是 api 目标 SDK 31? And how to determine the best Minimum SDK for current latest api?以及如何确定当前最新 api 的最佳最小 SDK? whether browsing on the internet or asking in forums?是在互联网上浏览还是在论坛上提问?

The minimum SDK is the minimum version of Android your app will support.最低 SDK 是您的应用将支持的最低 Android 版本。 If you would like to support older phones, you should set your minimum SDK level lower, and if you want to reduce code complexity and only support newer phones, you can go with a higher SDK level.如果你想支持旧手机,你应该把你的最低SDK级别设置得更低,如果你想降低代码复杂度,只支持新手机,你可以选择更高的SDK级别。

The numbers correspond with android versions .数字对应于 android 版本

I would personally recommend supporting Android 5.1+ (minimum SDK of 22) if you do not know where to start, as compatibility with android 4 gets tricky.如果您不知道从哪里开始,我个人建议支持 Android 5.1+(最低 SDK 为 22),因为与 android 4 的兼容性变得棘手。

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

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