gpt4 book ai didi

android - Google Play 说我的应用程序由于 list 原因与平板电脑的某些运营商型号不兼容。什么?

转载 作者:行者123 更新时间:2023-11-29 16:46:15 24 4
gpt4 key购买 nike

为什么我的应用程序只与特定设备的某些运营商版本不兼容,我该如何解决?检查一下:

wtf

所以我的应用只有在具有 v1a3g 模型或 viennalte 模型时才受支持。但是,如果他们使用的是 verizon 或 att 版本,他们将无法下载我的应用程序。

这很麻烦,因为我收到了来自拥有此 Note Pro 12.2 平板电脑的用户的电子邮件,他们想要下载我的应用程序,但无法下载。

根据google,原因是:

This device model is not supported in your app's APK manifest and hence users of this device model cannot install your app.

为什么我的 list 不支持它?我查了一下,我的 list 没有排除这个设备!这是我的 list :

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.my.app.censored">

<uses-sdk tools:overrideLibrary="com.robertsimoes.shareable" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="com.android.vending.BILLING" />

<uses-feature
android:glEsVersion="0x00020000"
android:required="false" />

<application
android:name=".myapplicationname"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:supportsRtl="true"
android:theme="@style/AppThemeDark">
<meta-data
android:name="com.samsung.android.icon_container.has_icon_container"
android:value="true" />
<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="censored" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

<activity
android:name="com.zendesk.sdk.support.SupportActivity"
android:theme="@style/SupportTheme" />
<activity
android:name=".SplashActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.BrandedLaunch">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

我在 stackoverflow 上搜索过类似的问题,有人建议如果 apk 大小太大(例如大于 20mb),某些平板电脑将无法下载应用程序,但我的只有 7mb。

最佳答案

当您使用 <uses-permission> 时元素,Google Play 会自动将您的应用标记为不受各种设备支持。解决方案是使用 <uses-feature>android: required="false" 标记.但是,该应用实际上不需要这些功能,否则将无法正常运行。

如果您想知道不支持特定设备的原因,请点击 Google Play 中列出的设备右侧的小箭头,如您的屏幕截图所示。然后点击“轨道级状态”旁边的箭头。

reason device not supported

另外请记住,不支持您的应用所需的 SDK 版本的设备也将不受支持

does not support sdk version

请参阅下面的链接以获取完整文档。

官方文档是这么说的:要控制过滤,请始终在 <uses-feature> 中显式声明硬件功能元素,而不是依赖 Google Play 来“发现”<uses-permission> 中的要求元素。然后,如果你想禁用特定功能的过滤,你可以添加 android:required="false"属性为 <uses-feature>声明。来源: https://developer.android.com/guide/topics/manifest/uses-permission-element.html

关于android - Google Play 说我的应用程序由于 list 原因与平板电脑的某些运营商型号不兼容。什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48069158/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com