Android APK扩展文件-可选 [英] Android apk expansion file - optional

查看:103
本文介绍了Android APK扩展文件-可选的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在应用程序中使用主扩展文件作为可选下载选项吗?因此,我不需要将其与APK文件一起下载,而是在以后用户需要时下载.

Can I use main expansion file as optional download option in application? So I don't need download it with APK file but later when user would do it.

推荐答案

创建扩展文件时,它应该类似于

When you create an expansion file, it should be something like

[main|patch].<version>.<package_name>

main,用于应用程序需要运行的文件,因此您选择补丁.该版本与您上传扩展文件所用的APK版本相同.如果您的apk版本是7,则应按如下所示命名扩展文件:

main, is for files that you're app needs to run, so you choose patch. The version is the same apk version you are uploading the expansion file with. If your apk version is 7 you should name the expansion file as follow:

patch.7.com.yourpackagename

然后压缩它,然后上传到Google Play!

You then zip it, and upload to google play!

这篇关于Android APK扩展文件-可选的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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