[英]Why does Android Studio throw errors in the manifest file when we change the compileSdkVersion and targetSdkVersion from 26 to 23?
[英]Why is there compileSdkVersion in manifest file?
到处都写着compileSdkVersion
只需要编译并且不包含在清单文件中。 但我在 apk 中打开清单文件并看到android:compileSdkVersion="32"
那里。 它存在的目的是什么?
根据文档:
编译应用程序的框架的用户可见 SDK 版本(例如 26)。 此属性由 Android 构建工具自动指定,不应手动指定。
因此,它绝对没有必要或目的出现在您的清单文件中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.