某些设备的设备与此版本不兼容

时间:2016-05-18 12:38:55

标签: android sdk google-play install

抱歉,我知道这个问题已经完成,但我没有找到解决方案。我读过的帖子 我更新了我的应用程序,现在我无法从某些设备中的Play商店下载Nexus 5 我不知道为什么谷歌说我的设备不兼容,这是我的应用程序的清单。

我已经检查了兼容设备列表并且Nexus 5可用,而且apk大小也只有24 MB(在其他一些帖子中指的是因为.apk大小会发生此问题)。

提前感谢您提供任何帮助

<?xml version="1.0" encoding="utf-8"?>
<manifest
    package="com.app.test.android"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:installLocation="auto"
    android:versionCode="75"
    android:versionName="3.4">

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

    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="com.app.test.android.permission.C2D_MESSAGE" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="com.app.test.android.permission.MAPS_RECEIVE" />
    <uses-permission android:name="com.android.vending.CHECK_LICENSE" />

    <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.camera.autofocus"
        android:required="false" />
    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />
    <uses-feature
        android:name="android.hardware.telephony"
        android:required="false" />

    <uses-permission
        android:name="android.permission.READ_EXTERNAL_STORAGE"
        android:maxSdkVersion="18" />

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

    <application
        android:name=".TestAppApplication"
        android:allowBackup="true"
        android:hardwareAccelerated="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/Theme.TestAppstyle">

        <service android:name="com.mapbox.mapboxsdk.telemetry.TelemetryService" />

        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="xxxxxxxxxxxxx" />
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/facebook_app_id" />
        <meta-data
            android:name="io.fabric.ApiKey"
            android:value="xxxxxxxxxxxx" />

        <activity
            android:name="com.google.android.gms.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
            android:theme="@android:style/Theme.Translucent" />
        <activity
            android:name=".activities.SplashActivity"
            android:configChanges="orientation|keyboardHidden"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.Black.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activities.MainActivity"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/app_name"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan">
            <intent-filter>
                <action android:name="intent.my.action" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <receiver
            android:name="com.google.android.gms.gcm.GcmReceiver"
            android:exported="true"
            android:permission="com.google.android.c2dm.permission.SEND">
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

                <category android:name="com.app.test.android" />
            </intent-filter>
        </receiver>

        <service
            android:name=".services.GCMListenerService"
            android:exported="false">
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
            </intent-filter>
        </service>
        <service
            android:name=".services.GCMInstanceIDListenerService"
            android:exported="false">
            <intent-filter>
                <action android:name="com.google.android.gms.iid.InstanceID" />
            </intent-filter>
        </service>
        <service android:name=".services.GCMRegistrationIntentService" />

        <service android:name=".util.Service" />
        <service android:name=".util.Server" />

    </application>
</manifest>

这是我的.gradle文件

apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

android {
   compileSdkVersion 23
   buildToolsVersion "23.0.1"

   defaultConfig {
       applicationId "com.app.test.android"
       minSdkVersion 15
       targetSdkVersion 23
       multiDexEnabled = true
   }

   dexOptions {
       preDexLibraries = false
       javaMaxHeapSize "4g"
       incremental true
   }

   lintOptions {
       quiet true
       abortOnError false
       disable 'googlemapssdkm4b_lib'
   }

   buildTypes {
       release {
           minifyEnabled false
           proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
       }
   }
}

buildscript {
   dependencies {
       classpath 'io.fabric.tools:gradle:1.+'
   }

   repositories {
       mavenCentral()
       maven { url 'https://maven.fabric.io/public' }
   }
}

repositories {
   mavenCentral()
   maven { url 'https://maven.fabric.io/public' }
}

dependencies {
   compile 'com.android.support:multidex:1.0.1'
   compile 'com.google.android.gms:play-services:8.3.0'
   compile 'com.android.support:support-v4:23.1.1'
   compile 'com.android.support:appcompat-v7:23.1.1'
   compile 'com.android.support:multidex:'
   compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
   compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {
       transitive = true;
   }
   compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:4.0.1@aar'){
       transitive = true
   }
}

1 个答案:

答案 0 :(得分:0)

我知道很久以前已经过去了,但我终于找到了答案,也许这对其他人有帮助。

这与应用代码无关。我正在以渐进模式发布应用程序,因此有些用户无法下载该应用程序。

对我而言,这是Google Play商店向用户显示的一个奇怪信息,因为它们会让人感到困惑 当我以100%

发布应用程序时,消息消失了