[英]Your app currently targets API level 30 and must target at least API level 31
[英]Your app currently targets API level 30 and must target at least API level 31 to ensure it is built on the latest APIs
我只是想在 google play store 上部署一个应用程序并得到这个错误。
如何将我的目标 api 更改为 31。我知道它需要在android/
下的build.gradle
文件中进行更改
这是我的:
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 30
}
Expo 有一种方法可以使用构建属性通过我的 app.config.js 添加它
我的问题是我要把它改成什么?
更改targetSdkVersion
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.