4

Uni-App 提交 App应用 到 Google Play 提示 API 级别过低的解决办法

 1 year ago
source link: https://blog.51cto.com/u_13734369/5994491
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Uni-App 提交 App应用 到 Google Play 提示 API 级别过低的解决办法

精选 原创

一只大傻雕 2023-01-06 17:31:55 博主文章分类:Uni-app ©著作权

文章标签 App Google Android 文章分类 其它 前端开发 阅读数245

原文链接:  Uni-App 提交 App应用 到 Google Play 提示 API 级别过低的解决办法

近日准备发布新版本上架到 Google Play 上时,突然出现了 Change your app's target API level to at least 31 的提示。

Uni-App 提交 App应用 到 Google Play 提示 API 级别过低的解决办法_App

在查阅相关资料后,得知 新应用必须以 Android 12(API 级别 31)或更高版本为目标平台;Wear OS 应用除外,此类应用必须以 Android 11(API 级别 30)或更高版本为目标平台。自 2023 年 1 月起,应用更新必须以 Android 12 或更高版本为目标平台,并针对 Android 12 中的行为变更进行调整;Wear OS 应用除外,此类应用必须以 Android 11 或更高版本为目标平台

Uni-App 提交 App应用 到 Google Play 提示 API 级别过低的解决办法_Android_02

详情请看:  符合 Google Play 的目标 API 级别要求

此时只需要将应用配置文件 manifest.json 中的 App常用其他设置targetSdkVersion 设置成 31 ,然后重新提交到云打包,将打包好的 aab 再次去提交到 Google Play 就不会再报错了。

Uni-App 提交 App应用 到 Google Play 提示 API 级别过低的解决办法_App_03

填好 App 必要信息,提交去审核,大概两个工作日左右就可以上架到 Google Play 了(前提是你的App不违规喔~)。

Uni-App 提交 App应用 到 Google Play 提示 API 级别过低的解决办法_Android_04
  • 收藏
  • 评论
  • 分享
  • 举报

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK