[英]Your app currently targets API level 30 and must target at least API level 31
Today I got following warning from Google Play "Your app currently targets API level 30 and must target at least API level 31 to ensure it is built on the latest APIs optimized for security and performance."今天我收到了来自 Google Play 的以下警告:“您的应用当前针对 API 级别 30,并且必须至少针对 API 级别 31,以确保它构建在针对安全性和性能优化的最新 API 之上。”
How can and where I should specify target API level?我应该如何以及在哪里指定目标 API 级别? To be honest I didn't specify anything.
老实说,我没有具体说明什么。 I just recently moved from Unity 2018 to Unity 2020 and got following warning.
我最近刚从 Unity 2018 迁移到 Unity 2020 并收到以下警告。
How can it be fixed?如何修复? Thank you in advance
先感谢您
First of all, always ensure you are using the latest stable build of unity.首先,始终确保您使用的是最新稳定的统一版本。 Older versions may not have the new API levels required for the latest android versions.
旧版本可能没有最新 android 版本所需的新 API 级别。
Then go to: Edit -> Project Settings -> Player -> Other Settings然后go到:编辑->项目设置->播放器->其他设置
If you have selected Android as the Build Platform: Under the Identification, there will be a Minimum API Level and Target API Level.如果您选择了 Android 作为构建平台:在标识下,将有一个最低 API 级别和目标 API 级别。
Set the Target API Level to automatic, which will be the highest installed.将 Target API 级别设置为自动,这将是安装的最高级别。 If you won't have an API Level such as 31, it means you need to upgrade your unity version or install the API level manually.
如果您没有 API 级别(例如 31),则意味着您需要升级您的统一版本或手动安装 API 级别。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.