2

我已将以下代码放入 android 清单文件中。所以我的应用程序无法在小尺寸屏幕上运行。

  <supports-screens android:smallScreens="false" >
</supports-screens>

但是现在当我通过 eclipse 在小屏幕设备上运行应用程序时,可以安装它。如果我想检查小屏幕设备无法从 google play store 下载应用程序,我该如何测试?我想在上传到 Play 商店之前进行检查。

4

4 回答 4

1

如果不在 Playstore 上发布应用程序,您将无法进行测试,因为您只Google Play需要处理它。

To do so, you can enable filtering by external services such as Google Play by adding 
elements to your manifest file that specify the screen configurations your application 
supports.

External services such as Google Play use this information to apply filtering to your 
application, so that only devices that have a screen configuration with which you declare   
compatibility can download your application.

更多信息文档

于 2013-09-23T12:29:00.053 回答
0

通过 google play 发布您的应用程序并检查哪些设备将被拒绝使用。如果 HTC Wildfire 等设备被禁用,您可以确定您的应用程序不支持小型设备。

于 2013-09-23T12:14:54.360 回答
0

当开发人员制作应用程序时,他们必须在名为 androidmanifest.xml 的文件中指定任何硬件/软件要求。

这些可能是硬件或软件要求,例如应用程序是否需要 GPS 或电话功能 - 或者它是否只能在某个 Android 版本上运行。

当您使用 Google Play 时,它会将您设备的“功能”发送到服务器,然后相应地过滤应用程序。

Google Play 认为它不兼容的最可能原因是它被设置为需要特定的屏幕分辨率 - 或者可能是纵向/横向模式默认值。

有些平板电脑的分辨率很低,而且还告诉 google play 他们无法进入纵向模式。

也可能是,您的平板电脑是通用的,它没有清单文件所说的所需的 GPS 或传感器,因此市场阻止您安装。

于 2013-09-23T12:24:29.710 回答
0

您可以通过将 apk 文件上传到 Google Play 服务进行测试。

但是,不要发布。

尝试在小屏幕设备中从 Google Play 下载/浏览。使用沙盒。

于 2013-09-23T12:42:17.407 回答