下面是我的Android清單。任何人都可以幫助我,爲什麼我的應用程序顯然不支持任何設備,當apk上傳到android play/dev控制檯?
我已經包含支持/兼容屏幕,但我知道只有一個是必需的。我沒有「虛假」的價值/屬性,我的所有權限都是正確的。Android App Publishing - 「沒有設備支持」
我意識到這可能是重複的,但是,我發現的唯一問題是我沒有的問題(false屬性等)或僅適用於該應用不支持的特定設備。
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="PACKAGE.NAME"
android:versionCode="7"
android:versionName="0.1.4">
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:xlargeScreens="true"/>
<compatible-screens>
<!--Only hdpi and xhdpi for 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-sdk
android:minSdkVersion="16"
android:targetSdkVersion="20"/>
<uses-feature android:name="android.feature.CAMERA"
android:required="true"
android:glEsVersion="0x00020000"/>
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<application
android:name="NAME"
android:allowBackup="true"
android:icon="@drawable/logoapp"
android:label="@string/app_name">
<meta-data android:name="assist-host" android:value="IP_ADDRESS"/>
<meta-data android:name="assist-port" android:value="PORT_NO"/>
<activity android:name=".LoginActivity"
android:theme="@android:style/Theme.NoTitleBar"
android:label="@string/app_name"
android:windowSoftInputMode="adjustResize|stateVisible">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name=".Main"/>
<activity android:name=".InCallActivity"
android:theme="@android:style/Theme.NoTitleBar"
android:launchMode="singleTask"/>
<activity android:name=".ResolutionActivity"
android:label="@string/title_activity_resolution" />
<activity android:name=".CameraSelectionActivity"
android:label="@string/title_activity_camera_selection" />
<activity android:name=".MainActivity"/>
<activity android:name=".PreferencesActivity"/>
<activity android:name=".ActivityLAInCall"
android:launchMode="singleTop"/>
<service android:name=".RingtoneBackgroundService"/>
<service android:name=".AssistService"/>
</application>
</manifest>
'android.feature.CAMERA'這似乎是一個不正確允許!正確的是'android.hardware.camera' –