简体   繁体   English

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

[英]Your device isn't compatible with this version for some devices

Sorry I know this question is already done, but I have not found solution on the posts I've read. 对不起,我知道这个问题已经完成,但我还没有找到解决方案。
I updated my app and now I can not download from Play Store in some devices as Nexus 5. 我更新了我的应用程序,现在我无法从某些设备中的Play商店下载Nexus 5。
I don't know why Google says my device isn't compatible, this is the manifest from my app. 我不知道为什么谷歌说我的设备不兼容,这是我的应用程序的清单。

I already checked on the compatible devices list and Nexus 5 is available, also the apk size is only 24 MB (in some other post refers this problem should happen because of .apk size). 我已经检查了兼容设备列表并且Nexus 5可用,而且apk大小也只有24 MB(在其他一些帖子中指的是这个问题应该因为.apk大小而发生)。

Thanks in advance for any help 在此先感谢您的帮助

<?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>

This is my .gradle file 这是我的.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
   }
}

I know long time ago has passed, but I finally found the answer and maybe it could be helpful for someone else. 我知道很久以前已经过去了,但我终于找到了答案,也许它可能对其他人有帮助。

It wasn't something related with the app code. 它与应用程序代码无关。 I was releasing the app in progressive mode and because of that some users were not able to download the app. 我正在以渐进模式发布应用程序,因此有些用户无法下载该应用程序。

For me this is a weird message the Google Play Store displays to users because they get confuse. 对我来说,这是Google Play商店向用户显示的一个奇怪的消息,因为它们会让人感到困惑。
The message disappeared when I released the app at 100% 当我以100%发布应用程序时,消息消失了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM