Google Play上的零(0)兼容设备

时间:2015-08-03 14:43:21

标签: android android-manifest licensing android-library incompatibility

每次我将应用上传到Google Play时,都会获得“0兼容设备”。当我在我的设备上测试它时,我的应用程序正常工作,而且我没有使用任何需要特定设备的东西。

没有理由发生这种情况,我的应用非常简单。

我的Android Manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.gameblox.gocil"
android:versionCode="6"
android:versionName="1.5">

<uses-sdk android:targetSdkVersion="21" android:minSdkVersion="14" />

<!-- Required to access Google Play Licensing -->
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />

<!-- Required to download files from Google Play -->
<uses-permission android:name="android.permission.INTERNET" />

<!-- Required to keep CPU alive while downloading files (NOT to keep screen awake) -->
<uses-permission android:name="android.permission.WAKE_LOCK" />

<!--
     Required to poll the state of the network connection
    and respond to changes
-->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<!-- Required to check whether Wi-Fi is enabled -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

<!-- Required to read and write the com.gameblox.gocil.expansion files on shared storage -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >

    <receiver android:name=".SampleAlarmReceiver"/>

    <activity
        android:name=".SplashActivity"
        android:configChanges="orientation|screenSize"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".WebviewActivity"
        android:configChanges="orientation|screenSize"
        android:label="@string/title_activity_webview" >
    </activity>
    <activity
        android:name=".MainActivity"
        android:label="@string/app_name" >
    </activity>
</application>

点击

上的Ctrl键
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />

Android Studio无法找到该库......其他人也显示...

我做错了什么? = /

0 个答案:

没有答案