我的应用程序不再在 android 市场上列出
My app is not listed on the android market anymore
这只发生在少数设备上,例如 Motorola motto X 设备。
当我使用直接 link 查找应用程序时,我收到以下消息:
your device isn't compatible with this version
安装按钮不可用。
我进行了广泛的搜索:
Google 播放节目 - 您的设备与此版本不兼容
适用于三星 Galaxy tab 2 和 Google Nexus 7
“your device isn't compatible with this version”
android - “your device isn't compatible with this version”
上安装得很好
好像和manifest文件有关,但不知道过滤掉了哪个权限。
我尝试在所有这些上添加 android:required="false"
但没有成功:
<!-- Google Maps Android API -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:required="false"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:required="false"/>
<!-- phone permission -->
<uses-permission android:name="android.permission.CALL_PHONE" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS" android:required="false" />
<!-- GCM Permissions -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.mypackage.myapp.permission.C2D_MESSAGE" />
<!-- Special Permissions -->
<permission
android:name="com.mypackage.myapp.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="android.permission.SET_DEBUG_APP" android:required="false" />
<!-- camera -->
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:required="false"/>
<uses-permission android:name="android.permission.CAMERA" android:required="false"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="18" android:required="false" />
还添加了所有屏幕的兼容性:
<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" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- all xlarge size screens -->
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
<!-- Special case for Nexus 7 -->
<screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>
再次,没有帮助......还有什么原因,无论如何找出它不兼容的原因。
感觉自己是在摸黑拍,求指教
在您的清单中,xxhdpi
个屏幕未在支持的屏幕中列出,还有 xxxhdpi
个屏幕。
平板电脑通常 hdpi
甚至 mdpi
,密度 (每平方英寸的像素数)。 分辨率(宽度和高度的像素数)是另外一回事。
我会备份清单并将其存储在某个地方(以防万一)。然后删除 <compatible-screens>
部分 - 只是为了尝试。
您应该可以兼容更多种类的设备。
Documentation for <compatible-screens>
also state the following:
Caution: Normally, you should not use this manifest element. Using
this element can dramatically reduce the potential user base for your
application, by not allowing users to install your application if they
have a device with a screen configuration that you have not listed.
You should use it only as a last resort, when the application
absolutely does not work with specific screen configurations. Instead
of using this element, you should follow the guide to Supporting
Multiple Screens to provide scalable support for multiple screens
using alternative layouts and bitmaps for different screen sizes and
densities.
这只发生在少数设备上,例如 Motorola motto X 设备。
当我使用直接 link 查找应用程序时,我收到以下消息:
your device isn't compatible with this version
安装按钮不可用。
我进行了广泛的搜索:
Google 播放节目 - 您的设备与此版本不兼容 适用于三星 Galaxy tab 2 和 Google Nexus 7
“your device isn't compatible with this version”
android - “your device isn't compatible with this version”
- 上安装得很好
好像和manifest文件有关,但不知道过滤掉了哪个权限。
我尝试在所有这些上添加 android:required="false"
但没有成功:
<!-- Google Maps Android API -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:required="false"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:required="false"/>
<!-- phone permission -->
<uses-permission android:name="android.permission.CALL_PHONE" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS" android:required="false" />
<!-- GCM Permissions -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.mypackage.myapp.permission.C2D_MESSAGE" />
<!-- Special Permissions -->
<permission
android:name="com.mypackage.myapp.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="android.permission.SET_DEBUG_APP" android:required="false" />
<!-- camera -->
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:required="false"/>
<uses-permission android:name="android.permission.CAMERA" android:required="false"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="18" android:required="false" />
还添加了所有屏幕的兼容性:
<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" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- all xlarge size screens -->
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
<!-- Special case for Nexus 7 -->
<screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>
再次,没有帮助......还有什么原因,无论如何找出它不兼容的原因。
感觉自己是在摸黑拍,求指教
在您的清单中,xxhdpi
个屏幕未在支持的屏幕中列出,还有 xxxhdpi
个屏幕。
平板电脑通常 hdpi
甚至 mdpi
,密度 (每平方英寸的像素数)。 分辨率(宽度和高度的像素数)是另外一回事。
我会备份清单并将其存储在某个地方(以防万一)。然后删除 <compatible-screens>
部分 - 只是为了尝试。
您应该可以兼容更多种类的设备。
Documentation for <compatible-screens>
also state the following:
Caution: Normally, you should not use this manifest element. Using this element can dramatically reduce the potential user base for your application, by not allowing users to install your application if they have a device with a screen configuration that you have not listed. You should use it only as a last resort, when the application absolutely does not work with specific screen configurations. Instead of using this element, you should follow the guide to Supporting Multiple Screens to provide scalable support for multiple screens using alternative layouts and bitmaps for different screen sizes and densities.