[英]flutter compileSdkVersion and targetSdkVersion on Android
[英]Print the compileSdkVersion and targetSdkVersion runtime of android app
我有一个 cordova outsystems android 应用程序,我想确保它正在运行我设置的 compileSdkVersion 和 targetSdkVersion。 是否可以在 android 代码(不是 javascript)中打印出运行时?
获取 targetSdkVersion 很简单:
val targetSdkVersion = application.applicationInfo.targetSdkVersion
获取compileSdkVersion比较复杂,这里贴出了答案: How to get compileSdkVersion in my custom gradle plugin
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.