Google Play 显示 Cordova App 的未优化 APK

Google Play shows Unoptimized APK for Cordova App(Google Play 显示 Cordova App 的未优化 APK)
本文介绍了Google Play 显示 Cordova App 的未优化 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 App 的未优化 APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)