【问题标题】:Publish multiple apks in google play在 google play 中发布多个 apk
【发布时间】:2013-09-08 08:02:57
【问题描述】:

在Multiple APK Support 手册的指导下,我正在尝试针对不同的屏幕尺寸发布三个不同的 apk。 我创建了以下过滤器:
对于小屏幕:

<supports-screens
    android:smallScreens="true"
    android:normalScreens="false"
    android:largeScreens="false"
    android:xlargeScreens="false"
    android:requiresSmallestWidthDp="320"/>

对于普通和大屏幕:

<supports-screens
    android:smallScreens="false"
    android:normalScreens="true"
    android:largeScreens="true"
    android:xlargeScreens="false"
    android:requiresSmallestWidthDp="540"/>

对于超大屏幕:

<supports-screens
    android:smallScreens="false"
    android:normalScreens="false"
    android:largeScreens="false"
    android:xlargeScreens="true"/>

其余三个清单看起来都一样。 我已将此 apk 上传到 google play,过滤器似乎是正确的。

问题:当我将我的应用程序安装到不同的设备时,它总是安装普通屏幕和大屏幕的版本,我什至在全高清屏幕的 Galaxy S4 和 HTC One 上进行了测试。

我在游戏控制台中只有一个警告:Some devices are eligible to run multiple APKs. In such a scenario, the device will receive the APK with the higher version code.
这是我的游戏控制台的样子:


有人知道我的配置有什么问题吗?提前致谢。

【问题讨论】:

    标签: android android-manifest google-play


    【解决方案1】:

    由于我还不能发表评论,所以我必须使用应答功能。

    我猜“大、小和 xlarge”是指 dp 值。但密度无关像素(dp)背后的理念是为拥有 480*800 和全高清(1920*1080)分辨率的 4 英寸手机的用户带来相同的体验。因此,也许您应该在 8 英寸或 10 英寸平板电脑上测试您的应用,看看会得到什么,因为每部 4 英寸手机都应该具有相同的 dp 宽度,但即使分辨率相同的 10 英寸平板电脑也不应该。

    this could be interesting for you to read 关于 android 中的密度无关像素

    希望能帮到你

    【讨论】:

    • 我知道在一个 apk 中支持多种屏幕分辨率。但我需要针对不同的屏幕分辨率发布不同的 apk。
    猜你喜欢
    • 1970-01-01
    • 2012-06-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-07-17
    相关资源
    最近更新 更多