我的Note3与我的应用程序不兼容

时间:2014-05-05 12:33:19

标签: android

对不起,我会直言不讳,但我无法弄清楚为什么我的应用程序不支持Note3这是我的清单:

    <uses-sdk
    android:minSdkVersion="10"
    android:targetSdkVersion="18" />

<uses-feature
    android:glEsVersion="0x00020000"
    android:required="true"/>

<uses-feature
    android:name="android.hardware.camera"
    android:required="true"/>

<uses-feature
    android:name="android.hardware.camera.autofocus"
    android:required="false"/>

 <uses-feature
    android:name="android.hardware.location"
    android:required="true"/>

 <uses-feature
    android:name="android.hardware.location.network"
    android:required="true"/>

 <uses-feature
    android:name="android.hardware.location.gps"
    android:required="false"/>



<uses-feature
    android:name="android.hardware.wifi"
    android:required="false"/>

<uses-feature
    android:name="android.hardware.telephony"
    android:required="false"/>


<compatible-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" />

    <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" />

</compatible-screens>

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



<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.CAMERA"/>

1 个答案:

答案 0 :(得分:0)

如果我不得不猜测,Note 3不适合您的<compatible-screens>元素,可能是由于密度不同。

一般来说,<compatible-screens>是一个相当危险的元素,因为它是白名单(即,可接受的设备)而不是黑名单(即应删除哪些设备)。因此,例如,您不支持-xxhdpi设备,-tvdpi设备,DENSITY_400设备等。因此,我强烈建议您完全摆脱<compatible-screens>。< / p>