一个游戏的多个 apk 方法

发布于 2024-12-25 17:56:39 字数 125 浏览 2 评论 0原文

我计划对我当前的项目使用多个 apk 方法,因为它针对每种密度都有大量的可绘制对象,并且 apk 文件现在很大。使用这种方法有什么陷阱吗?顺便问一下,Android Market 上的多个 apk 的下载统计数据是否“汇总”?提前致谢。

I'm planning to use the Multiple apk approach to my current project, since it has a big number of drawables for every density and the apk file is big right now. Are there any pitfalls in using this kind of approach? By the way, does the download statistics "sum up" on the Android Market for Multiple apk's? Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

べ繥欢鉨o。 2025-01-01 17:56:39

正如我们的评论讨论

根据我的经验,apk 大小不会影响应用程序的性能。就像您使用 hdpi 一样
设备则不会加载 ldpi 资源。因此设备将仅加载所需的资源
当前设备。我认为这是最好的方法。

第二,如果你想为 ldpi、hdpi 和 mdpi 创建三个应用程序,而不是一个,那么它非常耗时。而且它无法对所有三个应用程序的下载进行求和。Android 提供了 ldpi、hdpi、mdpi 三个选项。所以我们必须使用它。

希望你明白我的意思

As our comment discussion

In my experience apk size does not affect performance of application.As if you are using hdpi
device then ldpi resource will not load.So device will load only the resource required by
current device.And i think this is best approach.

Second If you want to make three application instead of one for ldpi,hdpi,and mdpi then its very time consuming.and it cannot sum the download of all three application.Android gave three option of ldpi,hdpi,mdpi.So we have to use it.

Hope you got my point

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文