简体   繁体   English

适用于Android版本4.0的SDK版本

[英]SDK version for Android version 4.0

我想知道什么是“ android:minSdkVersion”和“ android:targetSdkVersion =“,以便在具有Android 4.0版的手机上使用我的android应用。

Target Should always be the latest that you have installed on your PC . 目标应该始终是您在PC上安装的最新版本。 ie: 22. Minimum would be 14. 即:22。最小值为14。

The API 14 is the one related to Android 4.0. API 14是与Android 4.0相关的API。 So you could put targetSdk to 14. The minSdkVersion is the minimal android API that will be allowed to install your app so for more users, the lower the better ! 因此,您可以将targetSdk设置为14。minSdkVersion是允许安装应用程序的最小Android API,因此对于更多用户而言,越低越好! Still, if you set targetSdk to higher API, like 22, your Android 4.0 device will be able to installyour app. 不过,如果您将targetSdk设置为更高的API(例如22),则您的Android 4.0设备将能够安装您的应用。

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

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