2

我必须为平板电脑和手机(手机和平板手机)上传多个带有扩展的 .apk 文件。

我已将以下代码用于平板电脑版本的清单文件:

 android:versionCode="2"
 android:versionName="3.0" >
<uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="17" />

    <compatible-screens>
        <screen
            android:screenDensity="213"
            android:screenSize="large" />

        <screen
            android:screenDensity="mdpi"
            android:screenSize="xlarge" />
        <screen
            android:screenDensity="hdpi"
            android:screenSize="xlarge" />

    </compatible-screens>
Code for hand set version app manifest file :
   android:versionCode="1"
    android:versionName="3.0" >
    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="17" />

    <compatible-screens>


        <screen android:screenDensity="ldpi" android:screenSize="small" />
        <screen android:screenDensity="ldpi" android:screenSize="normal" />
        <screen android:screenDensity="ldpi" android:screenSize="large" />
        <screen android:screenDensity="ldpi" android:screenSize="xlarge" />

        <screen android:screenDensity="mdpi" android:screenSize="small" />
        <screen android:screenDensity="mdpi" android:screenSize="normal" />
        <screen android:screenDensity="mdpi" android:screenSize="large" />
        <screen android:screenDensity="mdpi" android:screenSize="xlarge" />


        <screen android:screenDensity="hdpi" android:screenSize="small" />
        <screen android:screenDensity="hdpi" android:screenSize="normal" />
        <screen android:screenDensity="hdpi" android:screenSize="large" />
        <screen android:screenDensity="hdpi" android:screenSize="xlarge" />

        <screen android:screenDensity="xhdpi" android:screenSize="small" />
        <screen android:screenDensity="xhdpi" android:screenSize="normal" />
        <screen android:screenDensity="xhdpi" android:screenSize="large" />
        <screen android:screenDensity="xhdpi" android:screenSize="xlarge" />

但问题是该应用程序与 Galaxy s4、Htc One 和 Galaxy S 以及所有平板电脑不兼容。

如果有人知道如何制作应用程序。兼容所有平板电脑和 Galaxy s4、htc one 和 Galaxy S 设备。我应该为平板电脑版和手机版应用程序的清单文件输入什么代码?

谢谢尼拉夫·莫德

4

1 回答 1

1

三星 S4、HTC one、Note 3 采用以下:

<screen android:screenDensity="xxhdpi" android:screenSize="xxlarge" />
于 2013-10-30T10:34:10.603 回答