Android 应用程序的最大大小
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21330911/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Max size of an Android Application
提问by Ram G Athreya
What is the maximum size for an Android Application that can be uploaded for Google Play? Is there some official resource or documentation for this? For example I see some games that are in GBs so is there an upward limit?
可以为 Google Play 上传的 Android 应用程序的最大大小是多少?是否有一些官方资源或文档?例如,我看到一些以 GB 为单位的游戏,那么是否有上限?
采纳答案by Satyaki Mukherjee
Android Market raises maximum app size to 4GB, APK files still limited to 50MB
Android Market 将最大应用程序大小提高至 4GB,APK 文件仍限制为 50MB
Please study these links, you will get your answer:
请研究这些链接,您将得到答案:
Android APK size limitation in Google Play
Google Play 中的 Android APK 大小限制
http://developer.android.com/google/play/expansion-files.html
http://developer.android.com/google/play/expansion-files.html
http://www.engadget.com/2012/03/05/android-market-4gb-app-limit/
http://www.engadget.com/2012/03/05/android-market-4gb-app-limit/
Update (28 Sep 2015)
更新(2015 年 9 月 28 日)
The Google Play team (ANDROID DEVELOPER BLOG) ::(GOOGLE) update the max size limit. They are increasing the APK file size limit to 100MBfrom 50MB. This means developers can publish APKs up to 100MB in size,Please refer this link for more information on Android Developer Blog
Google Play 团队 (ANDROID DEVELOPER BLOG) ::(GOOGLE) 更新了最大大小限制。他们正在将 APK 文件大小限制从50MB增加到100MB。这意味着开发者可以发布最大 100MB 的 APK,有关Android 开发者博客的更多信息,请参阅此链接
回答by LeoR
Update (As of Sep 28, 2015):
更新(截至 2015 年 9 月 28 日):
APK files have a maximum file size, based on the Android version that your APK supports: If you can't support all devices with a single APK, you can upload multiple APKsusing the same app listing that target different device configurations.
- 100 MB– APKs that target Android 2.3 and higher (API level 9-10 and 14+)
- 50 MB– APKs that target Android 2.2 and lower (API level 8 or lower)
Tip:Users must run Play Store version 5.2 or higher to install 100 MB APKs.
APK 文件具有最大文件大小,具体取决于您的 APK 支持的 Android 版本:如果您无法使用单个 APK 支持所有设备,则可以使用针对不同设备配置的相同应用列表上传多个 APK。
- 100 MB– 针对 Android 2.3 及更高版本的 APK(API 级别 9-10 和 14+)
- 50 MB– 针对 Android 2.2 及更低版本的 APK(API 级别 8 或更低)
提示:用户必须运行 Play Store 5.2 或更高版本才能安装 100 MB APK。
Referenceto Play Console Help.
参考Play 管理中心帮助。
Old Answer:
旧答案:
See here for details
详情请看这里
Currently, the maximum size for an APK published on Google Play is 50 MB.
You can use up to two (2) APK Expansion Files, each up to 2 GB in size, for each APK.
目前,在 Google Play 上发布的 APK 的最大大小为 50 MB。
对于每个 APK,您最多可以使用两 (2) 个 APK 扩展文件,每个文件的大小最大为 2 GB。
回答by Mihir Shah
Google Play is increasing the APK file size limit to 100MB from 50MB.
Google Play 将 APK 文件大小限制从 50MB 增加到 100MB。
回答by David Russell
All this being said, your apk size has that 100mb limit but your obb can be huge. ie a typical unreal delivery will have a 50mb apk and 100-300 obb and its accepted. I believe the obb can reach 2-4gb as long as you use sdk level-26.
话虽如此,您的 apk 大小有 100mb 的限制,但您的 obb 可能很大。即典型的虚幻交付将有一个 50mb apk 和 100-300 obb 并且它被接受。只要你使用sdk level-26,我相信obb可以达到2-4gb。
回答by Jebasuthan
APK file: maximum supported size for a single APK is 50MB.
APK 文件:单个 APK 支持的最大大小为 50MB。