问题描述
我试图在 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 App 的未优化 APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!