Google Play 显示未优化的 Cordova 应用程序 APK [英] Google Play shows Unoptimized APK for Cordova App

查看:33
本文介绍了Google Play 显示未优化的 Cordova 应用程序 APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在 Google Playstore 上发布我的第一个 Cordova 应用程序.当我上传我的发行版 apk 时,它显示以下警告,我无法推出发行版.

I was trying to publish my first Cordova app on Google Playstore. When I upload my release apk, it shows below warning and I cannot rollout the release.

未优化的 APK

警告:

此 APK 会导致向用户发送未使用的代码和资源.如果您使用 Android App Bundle,您的应用可能会更小.如果不针对设备配置优化您的应用程序,那么您的应用程序需要在用户设备上下载和安装时比实际需要的更大.较大的应用安装成功率较低,并且会占用用户设备上的存储空间.

This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users’ devices than it needs to be. Larger apps see lower install success rates and take up storage on users’ devices.

推荐答案

这只是一个警告,您可以继续上传 Cordova APK.Cordova 团队知道这一点,您可以在 他们的功能请求以在此处支持 Android App Bundle

This is just a warning, and you can carry on uploading Cordova APKs. The Cordova team know about this, and you can follow their feature request to support Android App Bundle here

这篇关于Google Play 显示未优化的 Cordova 应用程序 APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆