应用程式与Google Play商店上的装置不相容 [英] App not compatible with device on Google Play Store
问题描述
我的应用程序仅适用于手机,不适用于平板电脑.但是,带有以下清单:
My app is only designed for handsets, not tablets. However, with the following manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xxx.app" >
<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" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!--
IMPORTANT: Change "com.parse.starter.permission.C2D_MESSAGE" in the lines below
to match your app's package name + ".permission.C2D_MESSAGE".
-->
<permission android:protectionLevel="signature"
android:name="com.xxx.app.permission.C2D_MESSAGE" />
<uses-permission android:name="com.xxx.app.permission.C2D_MESSAGE" />
<compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- all normal size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
</compatible-screens>
<application
...
...
...
<activity
android:name=".ParseLogInUI.ParseLoginActivity"
android:label="@string/app_name"
android:launchMode="singleTop">
<!-- For more options, see https://www.parse.com/docs/android_guide#ui-login -->
<meta-data
android:name="com.parse.ui.ParseLoginActivity.PARSE_LOGIN_ENABLED"
android:value="true"/>
<meta-data
android:name="com.parse.ui.ParseLoginActivity.PARSE_LOGIN_EMAIL_AS_USERNAME"
android:value="true"/>
</activity>
<service android:name=".DealsFromOurSponsors.AlarmService">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</service>
<service android:name=".Geofences.UserTracker">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</service>
<receiver android:name=".Geofences.LocalDealsBroadcastReceiver"/>
<receiver android:process=":remote" android:name=".DealsFromOurSponsors.Alarm"/>
<service android:name="com.parse.PushService" />
<receiver android:name="com.parse.ParseBroadcastReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="com.parse.ParsePushBroadcastReceiver"
android:exported="false">
<intent-filter>
<action android:name="com.parse.push.intent.RECEIVE" />
<action android:name="com.parse.push.intent.DELETE" />
<action android:name="com.parse.push.intent.OPEN" />
</intent-filter>
</receiver>
<receiver android:name="com.parse.GcmBroadcastReceiver"
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" />
<!--
IMPORTANT: Change "com.parse.starter" to match your app's package name.
-->
<category android:name="com.xxx.app" />
</intent-filter>
</receiver>
<meta-data android:name="com.parse.push.notification_icon" android:resource="@mipmap/ic_launcher"/>
</application>
</manifest>
几乎所有的Android用户都告诉我它与他们的设备不兼容,或者他们无法在Google Play商店中找到它.但是在我的开发人员控制台中的合格设备"下,它说支持这些设备(我有7611个受支持的设备).
Almost all of my android users are telling me it's not compatible with their device, or that they can't find it on the google play store. Yet under the "eligible devices" in my developer console it says that those devices are supported (I have 7611 supported devices).
到底是什么问题?
推荐答案
请指定您的最低sdk版本和目标sdk版本,Google Play商店会直接引用清单文件中的两个值,然后决定是否支持特定应用程序还是没有设备...
Please specify your minimum sdk version and target sdk version, Google Play store direct reffer that both values from manifest file and then decide wheather application has been support to the particular device or not...
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="22" /
这里的应用只能支持14个以上的API版本,如果14个以下的API版本设备尝试在playstore上进行搜索,那么您的应用将显示在Play商店中..仅在14个onwords API级别以上可见
Here your appication can support only Above 14 Api versions, if below 14 api version devices try to search on playstore then your app displayed on play store.. only visible for above 14 onwords API Level
这篇关于应用程式与Google Play商店上的装置不相容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!