应用程序与 18 英寸平板电脑不兼容,因为清单?

App not compatible with 18 inch tablet because Manifest?

我已将应用程序上传到 Google Play 商店。它仅适用于平板电脑。 这是在我的 manifest.xml:

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />

<uses-feature
    android:name="android.hardware.camera"
    android:required="true" />

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

使用 Samsung Galaxy View SM-T670 的人正在尝试下载我的应用程序。此平板电脑为 18.4 英寸,但我的应用程序与此设备不兼容。为什么不兼容?

我检查过,设备有摄像头,所以这不是问题所在。

我想不出其他任何东西,因为它有我想要的一切,但是当我在 Google 开发者控制台中查找设备时,它说:

This device is not supported in your app's APK-manifest. Therefore, users of this model can not install your app.

谁能帮我解决这个问题?

编辑:平板电脑的 SDK 高于所需的最低 SDK。

我认为用户来自哪个国家并不重要,因为当我查看 Google 开发者控制台时,它还会显示该应用与该设备不兼容的消息。所以我猜国家不重要?

您已指定 android:requiresSmallestWidthDp="600",这意味着您希望屏幕至少为 600dpi。但是平板电脑有一个非常大的屏幕和很差的分辨率(通常高达 1920x1080),所以对于 18 英寸的平板电脑来说,你最终会得到 122 dpi 之类的东西。这意味着大多数平板电脑将被排除在外,这与您尝试实现的目标相反。 所以先去掉这一行。

那么您正在使用 <supports-screens>,其中:

Lets you specify the screen sizes your application supports and enable screen compatibility mode for screens larger than what your application supports.

(见developer page

在你的情况下,我认为使用 <compatible-screens> 更好。根据documentation

Specifies each screen configuration with which the application is compatible.

一般不建议使用,因为:

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.

这正是您想要做的。在 this answer.

中查看更多信息