Java 应用程序仅适用于手机,不适用于平板电脑

Java 应用程序仅适用于手机,不适用于平板电脑,java,android,android-emulator,google-play,Java,Android,Android Emulator,Google Play,我正在尝试构建一个只能通过手机而不能通过平板电脑下载的android应用程序。我已将其放入清单中: <supports-screens android:resizeable="false" android:anyDensity="false" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true"

我正在尝试构建一个只能通过手机而不能通过平板电脑下载的android应用程序。我已将其放入清单中:

<supports-screens
        android:resizeable="false"
        android:anyDensity="false"
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:xlargeScreens="false" />
    <compatible-screens>
        <!-- all small size 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" />
        <!-- all normal size screens -->
        <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" />

  <uses-feature android:name="android.hardware.telephony"/>
    <uses-sdk android:minSdkVersion="14"
        android:maxSdkVersion="22"/>

问题

1.当我在tablet emulator中运行我的应用程序时,它没有给出任何错误。我做错了什么?它只有在playstore上提交时才起作用吗?如果是这样的话,那么在我的应用程序上线之前我如何测试它呢

2.正如我在这里所写的,如何支持
xxhdpi
?例如,nexus5是
xxhdpi

注意:

对于平板电脑,我的意思是分辨率不高于1440x2560,屏幕大小也不高于1440x2560 不超过6英寸,当然不支持呼叫设备


我也试过,但没有运气。

你不能完全做你想做的事。 平板电脑和手机屏幕密度之间存在重叠。 有些平板电脑的屏幕密度与手机相同,反之亦然。
您可以在使用清单中的某些限制后从playstore中删除不需要的设备。

是的,这些限制仅适用于google play。