【问题标题】:My app not showing on Very Large Tablet我的应用程序未在超大平板电脑上显示
【发布时间】:2017-11-22 13:27:51
【问题描述】:

我开发的其中一个应用程序没有在THIS tablet 上显示。下面是我的清单文件。任何帮助将不胜感激。

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

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.Write_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />

<application
    android:name="MyApplication"
    android:allowBackup="true"
    android:hardwareAccelerated="false"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:largeHeap="true"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:screenOrientation="landscape"
    android:theme="@style/AppTheme">
   -------

</application>

【问题讨论】:

  • 不显示是什么意思?你能安装吗?它是否因错误而关闭?
  • @washichi 我无法在 Play 商店的平板电脑上找到我的应用程序。但在 10 英寸和 7 英寸的小平板电脑上使用相同的关键字搜索时可见
  • 将 Gradle 中的最低构建版本更改为平板电脑上的 Android 版本
  • 您许可中的某些硬件要求导致设备不允许安装。使用使用功能 developer.android.com/guide/topics/manifest/… 并根据您的项目要求将值设置为 false
  • @AmodGokhale 谢谢,它工作。请将此作为答案发布并稍作解释,以便将来对其他人有所帮助

标签: android google-play


【解决方案1】:

在您的应用中,您正在请求硬件要求的许可。如果设备没有该硬件功能,则 Play 商店不允许在设备上安装应用程序。

使用 uses-feature https://developer.android.com/guide/topics/manifest/uses-feature-element.html 并根据您的项目要求将值设置为 false。

声明的目的是通知任何外部 您的硬件和软件功能集的实体 应用取决于。该元素提供了一个必需的属性,它允许 您指定您的应用程序是否需要和不能运行 没有声明的功能,或者它是否更喜欢 功能,但可以在没有它的情况下运行。因为功能支持可能会有所不同 在 Android 设备上,该元素具有重要作用 在让应用程序描述设备变量功能方面的作用 它使用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-21
    • 1970-01-01
    • 2014-04-17
    • 1970-01-01
    • 2018-10-18
    • 1970-01-01
    相关资源
    最近更新 更多