自从新的开发者控制台和新的 PlayStore 出现后,我遇到了一些问题,例如主题中提到的问题。
最近我的应用在平板电脑上不可见,即使以前是这样。
但是控制台告诉我:
Supported Devices: 2665 Excluded Devices: 0
So I have to think that there is no problem, but why this app is not available when you try to search it on PlayStore from tablets?
As suggested on the forums I put the following code in the manifest:
<supports-screens
android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
是否有一种安全的方法可以毫无异常(exception)地支持所有平板电脑?
最佳答案
确保您的 uses-sdk 包含值为 11 或更高的 android:targetSdkVersion。 似乎谷歌在发布新版本的 Google Play 时添加了这个标准(没有直接告诉任何人)。
Tablet App Quality Checklist在 8 下。正确定位 Android 版本 现在说
a. targetSdkVersion is declared with value 11 or higher (14 or higher is recommended)
这似乎只适用于更新/新版本,因为以前没有这个的应用程序似乎不受影响。开发者控制台似乎也没有“意识到”这一要求,因为它明确指出支持 xlarge 设备。
关于Android:Google Play 上的某些应用程序不适用于平板电脑?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16581341/