1

我已经在 google play store 上发布了我的 APK,一旦我上传了新的 APK,它表明 APK 不兼容 7 英寸和 10 英寸的桌子。

我添加了“layout-sw600dp”和“layout-sw720dp”文件夹并删除了“layout-large”和“layout-xlarge”文件夹,然后再次上传 APK 仍然显示相同。

我的应用程序并非设计为“Multipan”应用程序,但我仍想让它与 7 英寸和 10 英寸平板电脑兼容。

我该怎么做?请建议,在此先感谢。

4

2 回答 2

0

if you want to support all screens you have to have these lines in your AndroidManifest:

<supports-screens 
    android:resizeable="true" 
    android:normalScreens="true" 
    android:largeScreens="true" 
    android:anyDensity="true" 
    android:smallScreens="true">
</supports-screens>

<compatible-screens>
    <screen android:screenSize="small" android:screenDensity="ldpi" />
    <screen android:screenSize="small" android:screenDensity="mdpi" />
    <screen android:screenSize="small" android:screenDensity="hdpi" />
    <screen android:screenSize="small" android:screenDensity="xhdpi" />

    <screen android:screenSize="normal" android:screenDensity="ldpi" />
    <screen android:screenSize="normal" android:screenDensity="mdpi" />
    <screen android:screenSize="normal" android:screenDensity="hdpi" />
    <screen android:screenSize="normal" android:screenDensity="xhdpi" />

    <screen android:screenSize="large" android:screenDensity="ldpi" />
    <screen android:screenSize="large" android:screenDensity="mdpi" />
    <screen android:screenSize="large" android:screenDensity="hdpi" />
    <screen android:screenSize="large" android:screenDensity="xhdpi" />

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

    <!-- Special case for new phones with large screens 5"+ and Nexus 7 -->
    <screen android:screenSize="normal" android:screenDensity="480" />
    <screen android:screenSize="large" android:screenDensity="213" />
    <screen android:screenSize="large" android:screenDensity="480" />
</compatible-screens>
于 2013-10-23T08:38:16.667 回答
0

添加你的清单文件

支持屏幕 android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens = "true" android:anyDensity="true" />

于 2013-10-23T10:33:18.693 回答