简体   繁体   English

您的应用当前针对 API 级别 30,并且必须至少针对 API 级别 31

[英]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.

相关问题 无法将 Cordova 应用程序提交到 Play 商店 - (您的应用程序当前针对 API 级别 30,并且必须至少针对 API 级别 31) - Can't submit Cordova app to the Play Store - (Your app currently targets API level 30 and must target at least API level 31) 您的应用目前以 API 级别 30 为目标,并且必须至少以 API 级别 31 为目标,以确保它是基于最新的 API 构建的 - Your app currently targets API level 30 and must target at least API level 31 to ensure it is built on the latest APIs Android PlayStore 警告您的应用当前针对 API 级别 25 - Android PlayStore warning your app currently targets API level 25 将应用的目标 API 级别更改为至少 30 - React Native - Change your app's target API level to at least 30 - React Native 离子应用程序以API级别25为目标,并且必须至少以API级别26为目标 - Ionic application targets API level 25 and must target at least API level 26 将应用的目标 API 级别更改为至少 26 - Change your app's target API level to at least 26 React Native EXPO:将应用程序的目标 API 级别更改为至少 31 - React Native EXPO: change app's target API level to at least 31 此编译器不支持 API 级别 31。 请使用 API 级别 30 或更早 - An API level of 31 is not supported by this compiler. Please use an API level of 30 or earlier Cordova - this.http.get() 请求不适用于 API 级别 31(它在 API 级别 30 中工作) - Cordova - this.http.get() request does not work with API level 31( It was working in API level 30) 应用卡在 Android 12(API 级别 31)的启动画面上 - App stuck on the Splash screen in Android 12 (API Level 31)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM