[英]Choose the Target SDK in Android Studio
I need to see which SDKs I can choose, but when I go to the module settings (Android Studio (Preview) 0.5.8) I see only this 我需要查看可以选择的SDK,但是当我转到模块设置(Android Studio(预览版)0.5.8)时,我只会看到
and I can't find this settings, where I can choose the Target SDK 我找不到此设置,可以在其中选择目标SDK
How can I do it? 我该怎么做?
You have to modify the targetSdkVersion field of the build.gradle file. 您必须修改build.gradle文件的targetSdkVersion字段。
This is an example: 这是一个例子:
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
versionCode 1
versionName "1.0.0"
}
Hope it helped, Mattia 希望对您有帮助,Mattia
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.