简体   繁体   English

Android App Bundle:Google Play 150MB 限制似乎包括动态功能模块大小?

[英]Android App Bundle: Google Play 150MB limit seems to include the Dynamic Feature Module size?

Scenario: I have an app with a lot of high res drawable images.场景:我有一个包含大量高分辨率可绘制图像的应用程序。 I would like to deliver those assets with the build as opposed to via web/http/cdn.我想通过构建而不是通过 web/http/cdn 交付这些资产。

Problem: When uploading my .aab to google, I'm told that certain configurations will result in a build over the 150MB limit.问题:将我的 .aab 上传到 google 时,我被告知某些配置会导致构建超过 150MB 的限制。 Google Play 150MB 错误

What I've tried:我试过的:

  • I've extracted most of the large images to an install-time Dynamic Feature Module.我已将大部分大图像提取到安装时动态功能模块。
  • Using bundletool, I've simulated an xxxhdpi device on arm64 with two languages.使用bundletool,我在arm64上用两种语言模拟了一个xxxhdpi设备。 The resulting base apks do not exceed 150MB.生成的基本 apk 不超过 150MB。 The Dynamic Feature Module apks ("packimages-*.apk") do, but as far as I can tell, that's not only ok, but that is Google's recommended way of reducing base apk size.动态功能模块 apk(“packimages-*.apk”)可以,但据我所知,这不仅没问题,而且是 Google 推荐的减小基本 apk 大小的方法。 在此处输入图片说明

The limit on 150 MB is on the download size at installation time. 150 MB 的限制是安装时的下载大小。

Since you mentioned that you configured the dynamic features to be "install-time", they will also be served at installation time and are thus counted towards the limit.由于您提到将动态功能配置为“安装时”,因此它们也将在安装时提供服务,因此计入限制。

You may want to consider images that are needed at installation time (which you can leave in the base module) and images that can be downloaded at a later time (which you can put in an on-demand module) using the Play Core SDK .您可能需要考虑安装时需要的图像(您可以保留在基本模块中)和稍后可以使用Play Core SDK下载的图像(您可以将其放入按需模块)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将超过 150MB 的 Android App Bundle (.aab) 上传到 Google Play - How to upload Android App Bundle (.aab) over 150MB to Google Play 如何在 google play 上发布超过 150mb 限制的应用程序? - How to post an app on google play over he 150mb limit? 如何在Android应用程序上阅读大型Base64文件(150MB)? - How to read large Base64 file (150MB) on android app? 如果我的Android APK Bundle被称为45 MB,那么当我的应用程序到达Google Play商店时,它的大小是多少? - If my Android APK Bundle is say 45 MB will that be the size of my application when it hits Google Play Store? App Bundle动态功能模块中的访问资源 - Access Resources In Dynamic Feature Module of App Bundle App Bundle 包含以下配置,其中初始安装将超过 150 MB 的最大大小 - App Bundle contains the following configurations where the initial install would exceed the maximum size of 150 MB 如何在没有 Android App Bundle 功能的情况下在 Google Play 商店中发布应用 - How to release an App in the Google Play store without the Android App Bundle feature 英特尔xdk项目340 mb大小上传到Google Play商店大小限制100 mb - intel xdk project 340 mb size upload to Google Play store size limit 100mb 如何将具有动态功能的应用程序上传到 google play? - how upload app with dynamic feature to google play? 签署App Bundle基本模块和动态功能模块 - Signing The App Bundle Base Module And Dynamic Feature Module
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM