Google Play Developer Console 有 0 个支持设备
0 support device at Google Play Developer Console
我在 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"
}
看看this and this,我想它可以帮助你解决你的问题。
但总而言之,这可能是由于您的使用权限或使用功能中的命名不正确造成的。它也可能是由您使用的第三方库引起的。希望这对您有所帮助!
我在 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"
}
看看this and this,我想它可以帮助你解决你的问题。 但总而言之,这可能是由于您的使用权限或使用功能中的命名不正确造成的。它也可能是由您使用的第三方库引起的。希望这对您有所帮助!