用于单独的平板电脑和平板电脑的不同资源文件夹手机APK [英] Different resource folders for separate tablet & mobile APKs
本文介绍了用于单独的平板电脑和平板电脑的不同资源文件夹手机APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在构建一个具有两个APK的应用程序:一个用于平板电脑,另一个用于手机.
I am building an app that has two APKs: one for tablets and the other for mobiles.
平板电脑版本不会使用移动APK的可绘制对象,反之亦然.
The tablet version won't use the drawable of the mobile APK and vice versa.
由于APK大小,我想这样做.
I want to do this because of APK size.
谁能给我指点如何实现这一目标?
Can anyone give me pointers how to achieve this?
我尝试为此使用口味,但它可以制作两个APK.
I tried to use flavors for this but it can make the two APK.
推荐答案
您可以实现这一点,因为Google Play商店提供了对多个APK的支持. 您可以在这里查看更多详细信息- 为不同屏幕尺寸创建多个APK
You can achieve this, as Google play store providing support for multiple apks. You can check here for more details- Creating Multiple APKs for Different Screen Sizes
这篇关于用于单独的平板电脑和平板电脑的不同资源文件夹手机APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文