【问题标题】:0 support device at Google Play Developer ConsoleGoogle Play 开发者控制台中的 0 支持设备
【发布时间】:2016-06-20 15:25:36
【问题描述】:

我在使用 Android 应用时遇到问题... 它在我的设备上运行完美,但在开发者控制台上支持为 0。

这将是我的 AndroidManifest.xml。 我检查了它没有错误。

我不知道去哪里找。

谁能帮帮我。

<?xml version="1.0" encoding="utf-8"?>

<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="xxx.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

<permission
    android:name="xxx.permission.C2D_MESSAGE"
    android:protectionLevel="signature" />

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

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity
        android:name=".activities.SplashActivity"
        android:screenOrientation="portrait">
        <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:label="xxx"
        android:screenOrientation="portrait">
    </activity>

    <activity
        android:name=".activities.ProfileCropImageActivity"
        android:screenOrientation="portrait" />

    <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" />
            <category android:name="xxx.gcm" />
        </intent-filter>
    </receiver>

    <service
        android:name="xxx.services.MyGcmListenerService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
        </intent-filter>
    </service>
    <service
        android:name="xxx.services.MyInstanceIDListenerService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.google.android.gms.iid.InstanceID" />
        </intent-filter>
    </service>
    <service
        android:name="xxx.services.RegistrationIntentService"
        android:exported="false">
    </service>
</application>

以下是build.gradle的部分:

    defaultConfig {
    applicationId "xxx"
    minSdkVersion 15
    targetSdkVersion 23
    versionCode 1
    versionName "1.0.0"
}

【问题讨论】:

  • 你的目标 SDK 是什么?
  • 请添加build.gradle
  • 目标 SDK 我猜是 23。

标签: android google-play


【解决方案1】:

看看thisthis,我认为它可以帮助您解决问题。 但总而言之,这可能是由于您的使用权限或使用功能中的错误命名造成的。它也可能是由您使用的第三方库引起的。希望这会有所帮助!

【讨论】:

  • 感谢您的链接!我删除了“compile 'org.apache.directory.studio:org.apache.commons.codec:1.8'”这一行,它起作用了!
  • 不错!很高兴它有帮助!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-03-13
相关资源
最近更新 更多