简体   繁体   English

在AndroidManifest.xml / properties.project中设置Android版本的指南

[英]Guidance on setting Android version in AndroidManifest.xml/properties.project

I'm working on a hybrid worklight application and need to set the minSdkVersion in the AndroidManifest.xml and target in the project.properties to android 10. I've seen several references to manually updating these files, but I'm concerned that after modifying and checking into source control that they could be missing something (if they're generated again by Worklight). 我正在使用混合工作灯应用程序,需要在AndroidManifest.xml中设置minSdkVersion,并在project.properties中将其目标设置为android10。我已经看到了一些手动更新这些文件的参考,但是我担心之后修改并签入源代码管理,以确保它们可能缺少某些内容(如果它们是由Worklight再次生成的)。 Are there any configuration parameters in Worklight studio or other files to set the Android version or will it be ok to modify/check into source control and use the same file each time? Worklight Studio中是否有任何配置参数或其他文件来设置Android版本,还是可以修改/签入源代码管理并每次都使用相同的文件?

From reading this article, Integrating with source control systems , it looks to me like there will be no problem with committing the mentioned files into your source control application. 通过阅读本文“ 与源代码管理系统集成”,在我看来,将提到的文件提交到源代码管理应用程序中不会有任何问题。

In Android (and Worklight), you set the minSdkVersion in Android's provided AndroidManifest.xml. 在Android(和Worklight)中,您可以在Android提供的AndroidManifest.xml中设置minSdkVersion。

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

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