Android 不能';不要制作一个只使用平板电脑的应用程序

Android 不能';不要制作一个只使用平板电脑的应用程序,android,android-layout,Android,Android Layout,我提到了堆栈溢出,并在清单文件中使用了“支持屏幕”属性,如下所示: <supports-screens android:smallScreens="false" android:normalScreens="false" android:largeScreens="false" android:xlargeScreens="true"

我提到了堆栈溢出,并在清单文件中使用了“支持屏幕”属性,如下所示:

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

    <uses-sdk
        android:minSdkVersion="14"
        android:targetSdkVersion="17" />

但我仍然能够在任何类型的屏幕上安装它。我已经在索尼tipo试过了,我可以安装它。这里怎么了

  • 您应该允许大屏幕,因为这适用于7英寸平板电脑

  • 您无法筛选手机上安装的应用程序(通过Eclipse或从外部源下载)。此设置将限制从Google Play Market手机上下载应用程序


  • 希望这有帮助:)

    据我所知,安装apk始终是可能的。在Play Store中,如果未满足要求,则该应用不会显示在任何应用列表中。

    如果我没有弄错,您也可以使用:

    但是要小心阅读文档和警告

    还有一种方法是在设备过滤器中只启用平板电脑
    当您发布应用程序时(在Google Play开发者控制台中,在web上)。

    实际上,以下内容仅帮助您在android market中筛选应用程序。
    <compatible-screens>
    
    Caution: Normally, you should not use this manifest element. 
    Using this element can dramatically reduce the potential 
    user base for your application, by not allowing users to 
    install your application if they have a device with a screen 
    configuration that you have not listed. 
    You should use it only as a last resort, when the application 
    absolutely does not work with specific screen configurations.