我的应用在Play商店中无法显示“ Nexus 5X(Android 6.0.1)”,但对其他设备可见。为什么会这样?
非常感谢任何帮助。
清单文件
以下是权限和兼容的屏幕支持以及SDK目标
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="23" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Map related permissions -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="com.ef.myef.permission.MAPS_RECEIVE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<!-- -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<compatible-screens>
<screen
android:screenDensity="mdpi"
android:screenSize="normal" />
<screen
android:screenDensity="hdpi"
android:screenSize="normal" />
<screen
android:screenDensity="xhdpi"
android:screenSize="normal" />
<!-- for xxhdpi -->
<screen
android:screenDensity="480"
android:screenSize="normal" />
<screen
android:screenDensity="560"
android:screenSize="normal" />
<screen
android:screenDensity="640"
android:screenSize="normal" />
</compatible-screens>
答案 0 :(得分:2)
我认为Nexus 5x默认为420 dpi。
http://android-developers.blogspot.co.id/2015/09/android-marshmallow-ready-for-devices.html
Nexus 5X的量化密度为420 dpi,介于xhdpi和xxhdpi主密度桶之间
因此你应该加入你的清单
<screen
android:screenDensity="420"
android:screenSize="normal" />
答案 1 :(得分:0)
uses-sdk android:minSdkVersion =“14”android:targetSdkVersion =“22”/
Android 6.0.1是23,而不是22.尝试
使用-sdk android:minSdkVersion =“14”android:targetSdkVersion =“23”/