本文介绍了Android清单配置仅适用于智能手机,索尼Xperia Z,HTC One和三星Galaxy S4在谷歌播放上失踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在谷歌播放器上安装了一个Android应用程序,该应用程序仅与智能手机兼容(我正在进行平板电脑改编)。

我已设置在我的AndroidManifest.xml中配置此配置以排除平板电脑:(我排除了x-large)

 < supports-screens 
android:largeScreens =true
android:normalScreens =true
android:smallScreens =true
android:resizeable =true
android:anyDensity =true
/>

它可以正常工作,但现在新款智能手机Sony Xperia Z,HTC One和Samsung Galaxy S4没有兼容。如果我尝试我的应用程序在这些设备上的显示效果很好



我无法找到这些模型是否被视为x-large屏幕。



任何人面临这个问题?

谢谢

Thibault

解决方案

screenSize =largeandroid:screenDensity =480/>


I've an android app on the google play, which is only compatible for smartphone (i'm working on the tablet adaptation).

I've set up this configuration in my AndroidManifest.xml to exclude the tablets: (i exclude x-large)

<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>

It works fine, but now the new smartphones Sony Xperia Z, HTC One and Samsung Galaxy S4 are not compatible. And if i try my app the display is just fine on these devices

I can't find if theses models are considered as "x-large" screen.

Anyone facing this problem?

Thanks

Thibault

解决方案

Adding the following line will enable support for large phones with xxhdpi displays:

<screen android:screenSize="large" android:screenDensity="480" />

这篇关于Android清单配置仅适用于智能手机,索尼Xperia Z,HTC One和三星Galaxy S4在谷歌播放上失踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 08:43