简体   繁体   English

Android:使用兼容软件包时,应该选择哪个版本的SDK?

[英]Android: When compatibility package is used, what version of SDK should I choose?

I remember Google says we should always use the latest API and set the min sdk to lower version. 我记得Google表示我们应该始终使用最新的API,并将min sdk设置为较低版本。

My question is, If I use compatibility package, what Android SDK version should I use? 我的问题是,如果我使用兼容软件包,应该使用哪个Android SDK版本? If I use 4.0, will there be conflict? 如果使用4.0,会有冲突吗? Thanks, 谢谢,

You should still be targeting the latest SDK. 您仍然应该以最新的SDK为目标。 Make sure that you use the compatibility package imports and not the SDK imports. 确保您使用兼容包导入而不是SDK导入。

暂无
暂无

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

相关问题 我应该选择什么样的最低SDK版本? (如2018年11月) - What is the minimum SDK version should I choose? (as in Nov 2018) 我应该选择的最低 SDK 版本是多少? (如 2019 年 7 月),为什么? - What is the minimum SDK version should I choose? (as in July 2019) and why? Android SDK Manager-我应该选择安装哪个软件包? - Android SDK Manager - Which Package Should I Choose to Install? 开始为 Android 开发,我应该选择安装哪些 SDK? - Starting to develop for Android, what SDK(s) should i choose to install? 对于要在 Android 应用程序中使用的普通图像,我应该选择什么“图标类型”? 我应该如何将它们添加为 ImageViews? - What "Icon Type" should I choose for normal images to be used in an Android app? How should I add these as ImageViews? 您应该选择哪个构建目标和最低SDK版本? - What build target and min SDK version should you choose? 什么是Android SDK构建工具,平台工具和工具?应该使用哪个版本? - What are the Android SDK build-tools, platform-tools and tools? And which version should be used? 我应该为 Android GSI 选择什么架构? - What architecture should I choose for Android GSI? 什么是最低SDK,我应该选择哪一个 - What is the Minimum SDK and which one should I choose 当我需要在android中检测调用事件时,我应该在BroadcastReceiver和PhoneStateListener之间做什么选择? - What should I choose between BroadcastReceiver and PhoneStateListener when I need to detect call event in android?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM