几天前我在android商店上传了一个应用程序,它显示不支持galaxy s4和Nexus 7(我刚刚使用这些设备进行了测试,可能还有更多)。
这是应用程序URL
https://play.google.com/store/apps/details?id=com.lingapps.appwriter
我环顾四周有关平板电脑的权限和发现有关
这是我现在使用的权限。
清单xmlns: android="http://schemas.android.com/apk/res/android"包="com.lingapps.appWriter"android:install Site="auto"android:versionCode="3"android:versionName="1.0"
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="14" />
<supports-screens
android:smallScreens="false"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
<compatible-screens>
<!--no small size screens -->
<!--all normal size screens -->
<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" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- all xlarge size screens -->
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
<!-- Special case for Nexus 7 -->
<screen android:screenSize="large" android:screenDensity="213" /> </compatible-screens>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
但是为什么它不兼容银河s4,任何帮助都将非常感激。
您需要将android: target etSdkVersion="14"更改为android:target etSdkVersion="17"
Galaxy s4具有xxhdpi分辨率。您可以查看手机规格:)。您还需要添加xxhdpi。谷歌正在支持它。
此链接将帮助您了解更多:
http://androidtrainningcenter.blogspot.kr/2013/03/how-to-develop-android-application-for.html
这帮助了我:
1)删除
2)目标SDK19级(如果尚未安装,请使用SDKManager安装)
3)在中添加以下行
<screen android:screenSize="normal" android:screenDensity="480" />