我现在有与谷歌的问题Play筛选和新的密度类xxhpdi,这是在API级别16引入的。 我的应用程序被分裂成3 APK文件(我知道这是不是最好的做法,但由于计划不周,我必须这样做,像这样的时刻)。有趣的部分是版本为Android 4.0,只有智能手机。 我已经安装过滤器市场在AndroidManifest.xml中是这样的:
I currently have a problem with Google Play filtering and the new density class xxhpdi, which was introduced in API Level 16. My app is splitted into 3 APK files (I know that is not the best practice, but due to a bad planning, I have to do it like this at the moment). The interesting part is the version for Android 4.0, Smartphones only. I have setup market filter in AndroidManifest.xml like this:
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17"/>
<compatible-screens>
<screen android:screenDensity="ldpi" android:screenSize="small"/>
<screen android:screenDensity="mdpi" android:screenSize="small"/>
<screen android:screenDensity="hdpi" android:screenSize="small"/>
<screen android:screenDensity="xhdpi" android:screenSize="small"/>
<screen android:screenDensity="ldpi" android:screenSize="normal"/>
<screen android:screenDensity="mdpi" android:screenSize="normal"/>
<screen android:screenDensity="hdpi" android:screenSize="normal"/>
<screen android:screenDensity="xhdpi" android:screenSize="normal"/>
</compatible-screens>
现在的问题是,随着1080的屏幕像宏达电Droid DNA的新设备将无法看到或安装我的应用程序,因为我没有具体说明,它也支持xxhdpi屏幕。现在的问题是,因为我把我的minSdkVersion为API级别14,这也是Android ICS,我不能简单地添加一行:
The problem is now, that new devices with 1080p screens like the HTC Droid DNA can't see or install my app, because I did not specify that it also supports the xxhdpi screens. The problem is, because i set my minSdkVersion to API Level 14, which is Android ICS, I cannot simply add the line:
<screen android:screenDensity="xxhdpi" android:screenSize="normal"/>
这是因为空气污染指数14不知道xxhdpi类。是否有我的问题的任何解决方案,而无需创建一个单独的第四APK文件?
This is because API level 14 does not know the xxhdpi class. Is there any solution for my problem, without having to create a 4th seperate APK file?
感谢你。
我找到了解决办法:不要加入的
I found the solution: Instead of adding the
<screen android:screenDensity="xxhdpi" android:screenSize="normal"/>
行至兼容的屏部分,它看起来像数字值的工作,以及:
line to the compatible-screens section, it seems like the numeric value is working as well:
<screen android:screenDensity="480" android:screenSize="normal"/>