过大APK由于多种密度和屏幕尺寸? [英] Too large APK due to multiple densities and screens sizes?

查看:217
本文介绍了过大APK由于多种密度和屏幕尺寸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌提出创建为每个图像4不同的版本 - 每个密度(LDPI,MDPI,华电国际,xhdpi)。有时你甚至可能要创建人,根据屏幕尺寸(小,中,大,超大)。

Google suggests to create for each image 4 different versions - one for each density (ldpi, mdpi, hdpi, xhdpi). Sometimes you might even want to create others, based on the screen size (small, normal, large, xlarge).

这会导致一个奇怪的情况,大部分的应用程序的图片永远不会被应用程序使用,对吧?

This causes a weird situation where most of the app's images will never be used by the app, right?

为什么谷歌不他们的网站上创建多个APK,要定位到最终用户的设备最好的APK,使资源的100%,将在设备的规格如何定位?或者已经有这样的事情吗?

How come Google doesn't create multiple APKs on their website, to target the best APK to the end user's device, so that 100% of the resources will be targeted on the device's specs? Or there is already such a thing?

推荐答案

是的,有多个APK支持。详情请参阅这里

Yes there is a support for multiple APK. Please refer here.

要满足您的需要precisly您可以在清单文件中的某些过滤器即<支持屏>或LT;兼容屏>

To address your need precisly you can certain filters in your manifest file i.e. <supports-screens> or <compatible-screens>

这篇关于过大APK由于多种密度和屏幕尺寸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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