我已将我的应用程序上传到Google Play商店,并在Android Manifest中使用以下权限和屏幕支持。
当我检查兼容设备列表时,它没有显示像HTC Explorer这样的设备,屏幕分辨率为320 x 480像素。请建议我在Manifest.XML文件中需要进行哪些更改才能实现兼容性
<compatible-screens>
<!-- small size screens -->
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- all normal size screens -->
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- large screens -->
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
</compatible-screens>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
答案 0 :(得分:0)
在Manifest文件中设置此标记,根据您的应用程序设置true为false
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />
anyDensity =支持所有决议
largeScreens = 7“平板电脑(600x1024)
normalScreens =普通屏幕(480x800)
smallScrens =小屏幕(320x480,240x360)
XlargeScreens = 10“平板电脑(720x1280,800x1280等)