多个APK支持 [英] Multiple APK Support

查看:278
本文介绍了多个APK支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理具有多种类型选择的应用程序,每种类型都有不同的UI,内容和操作。



如果我打包所有活动,xml和drawables文件在同一个.apk文件中,所有用户都使用显示和隐藏方法,这是一种效率低下的方式,因为它浪费了用户空间和下载时间。

是否有其他方法可以将活动,xml和可绘制文件上传到外部服务器并根据用户选择的选项下载它们?



赞赏任何帮助。
thanks。

解决方案

答案在这里


多个APK支持
----->构建系统使您能够自动构建不同的APK
,每个APK仅包含特定
所需的代码和资源屏幕密度或应用程序二进制接口(ABI)。有关更多
信息,请参阅构建多个APK。



I am working on application with multiple types choices and every type has different UI, content and operations.

If i packaged all activities, xml and drawables files inside same .apk file for all users with showing and hiding methodology it's an inefficient way as it waste user space and download time.

Are there another ways to upload activities,xml and drawables files to external servers and download them based on user selected choice?

appreciated any help. thanks.

解决方案

the answer is here

Multiple APK Support -----> The build system enables you to automatically build different APKs that each contain only the code and resources needed for a specific screen density or Application Binary Interface (ABI). For more information see Build Multiple APKs.

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

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