我希望我的应用只能在智能手机上运行,密度无关紧要。 所以我有几个问题。 我应该使用<compatible-screens>
还是<supports-screens>
?有什么不同? Google Play会使用哪个标签来过滤应用列表? 这是正确的方法吗?仅支持智能手机设备
<supports-screens
android:anyDensity="true"
android:largestWidthLimitDp="500"
android:normalScreens="true"
android:smallScreens="true"
android:largeScreens="false"
android:xlargeScreens="false" />
<compatible-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"/>
<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"/>
</compatible-screens>
我已阅读关于这个参数的不同问题,但有不同的答案。
看到这个链接http://stackoverflow.com/questions/21850115/difference-between-supports-screens-and-compatible-screens-on-android – Madhu
请发布您的完整的Android清单文件。只有这些参数不用于设备过滤。权限/使用功能标签也进入过滤 –