Google Play 中的 Android APK 大小限制 [英] Android APK size limitation in Google Play

查看:81
本文介绍了Google Play 中的 Android APK 大小限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档说 Google Play 中的 APK 大小限制为 50MB,可选择两个 2GB 扩展 APK.

Docs say that APK size limit in Google Play is 50MB, with option for two 2GB expansion APKs.

但是,我可以在 Google Play 商店中找到超出 50MB 限制的应用(例如 Gears & Guts 为 371MB).我可以直接从 Google Play 本身下载此游戏,无需外部下载器.作为顶级开发者,他们是否有一些额外的功能可以上传超过 50MB 的 APK,或者 Google Play 是否只是隐藏了它正在下载扩展文件而不是 APK 本身的事实?

However, I can find apps in Google Play store that are beyond this 50MB limitation (Gears & Guts for example is 371MB). I can download this game straight from Google Play itself without need for external downloaders. Do they have some extra feature as Top Developer to upload APKs over 50MB, or does Google Play just hide the fact that it's downloading expansion files rather than the APK itself?

推荐答案

扩展文件有点奇怪.对于用户来说,它们看起来就像一个普通的应用程序.具有 150MB 扩展文件的 50MB 应用程序看起来像 200MB 下载.Google Play 将首先下载主应用程序.然后它将下载主扩展文件,然后是补丁扩展文件.似乎一次性付清.

Expansion files act kind of weird. To the user, they look like a normal app. A 50MB app with 150MB worth of expansion files will look like a 200MB download. Google Play will download the main app first. It will then download the main expansion file and then the patch expansion file. All in seemingly one lump sum.

但是,下载可能是部分的.即,用户可以在没有扩展文件的情况下完成主应用程序的下载.因此,您必须实现自定义下载器,以便在初始下载失败时检索剩余的文件.为了使事情变得更复杂,有时扩展文件不包含在初始下载中.我不知道是什么原因造成的,但我见过这种情况很少发生.

However, it is possible for the download to be partial. I.E., the user can finish the main app download without the expansion files. As such, you MUST implement a custom downloader in order to retrieve the remaining files on the event the initial download fails. To make things a bit more complicated, sometimes the expansion files are not included in the initial download. I don't know what causes this, but I've seen it happen on rare occasions.

这篇关于Google Play 中的 Android APK 大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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