Android 应用程序在选项卡中搜索时不可见,但在 Google Play 商店中从移动设备搜索时可见

Android application is not visible when searched from tab, but visible when searched from mobile device on Google Play Store

请在将问题标记为重复之前阅读问题。
我正在尝试发布我的应用程序的更新,添加了平板电脑支持。在 google 播放控制台上的 apk 详细信息中,我的 apk 支持的设备数量有所增加。但是 Android 平板电脑无法搜索到我的应用程序。

以下是我的清单文件的内容。

<!-- for accessing the server -->
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

<!-- for accessing images from SD card -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

<!-- supports the all the following types of screens -->
<supports-screens
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:xlargeScreens="true" />

<!-- features used in the app -->
<uses-feature
    android:name="android.hardware.camera"
    android:required="false" />

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

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

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

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

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

<uses-feature
    android:name="android.software.webview"
    android:required="false" />

如果我错过了标签,请帮助我。我搜索的标签没有调用功能

我唯一没有添加的标签是 uses sdk 标签,但根据 Android 开发人员文档,如果我不提供该信息,它假定应用程序将 运行所有 android 个版本。

可能的解决方案一:

For xxhdpi devices you can use 480 as an int value

 <screen android:screenSize="normal" android:screenDensity="480" />
 <screen android:screenSize="large" android:screenDensity="480" />
 <screen android:screenSize="xlarge" android:screenDensity="480" />

可能的解决方案2:

我认为关键在于您的权限。通过说您的应用使用 RECEIVE_SMS 和 READ_PHONE_STATE Google Play 使用它来过滤掉不能执行这些操作的设备(平板电脑),因为它认为您的应用需要使用这些权限为了工作。根据 android 开发者网站:

"To prevent those apps from being made available unintentionally, Google Play assumes that certain hardware-related permissions indicate that the underlying hardware features are required by default. For instance, applications that use Bluetooth must request the BLUETOOTH permission in a element — for legacy apps, Google Play assumes that the permission declaration means that the underlying android.hardware.bluetooth feature is required by the application and sets up filtering based on that feature."

还有,看这个:

电话 CALL_PHONE android.hardware.telephony CALL_PRIVILEGED android.hardware.telephony MODIFY_PHONE_STATE android.hardware.telephony PROCESS_OUTGOING_CALLS android.hardware.telephony READ_SMS android.hardware.telephony RECEIVE_SMS android.hardware.telephony RECEIVE_MMS android.hardware.telephony RECEIVE_WAP_PUSH android.hardware.telephony SEND_SMS android.hardware.telephony WRITE_APN_SETTINGS android.hardware.telephony WRITE_SMS android.hardware.telephony

你有 RECEIVE_SMS 和 READ_PHONE_STATE,所以你自动有 android.hardware.telephony。你可以通过做

来解决这个问题


我终于解决了这个问题。 问题是,我在生产中有一个不支持平板电脑的 apk,而我在支持平板电脑的 alpha 测试中有一个 apk。因此 Google Play 并未显示该应用兼容。

我停用了 PRODUCTION 中的构建并将 ALPHA 中的构建移至 PRODUCTION,问题就解决了。