简体   繁体   English

Google Play商店上平板电脑未显示Android App

[英]Android App is not showing for a tablet on Google play store

I am trying to search for Device Locator app on my Mi tablet but it is not visible. 我正在尝试在Mi平板电脑上搜索Device Locator应用程序 ,但它不可见。 AFAIK it will not be visible for two things AFAIK,它将在两件事上不可见

  1. OS version is less than minsdk version supported by app. 操作系统版本小于应用程序支持的minsdk版本。 - This is not the case. - 不是这种情况。 App supports Jellybean and Tablet is running kitkat. 应用程序支持Jellybean,而Tablet正在运行kitkat。
  2. Device needs some feature that tablet does not support. 设备需要平板电脑不支持的某些功能。 - I think this is the culprit but cannot think of one. -我认为这是罪魁祸首,但想不到。 I can see this issue on the browser which says incompatible with my tablet. 我在浏览器上看到此问题,该问题说与我的平板电脑不兼容。

在此处输入图片说明

But I don't see any permissions related to carrier. 但我看不到与运营商相关的任何权限。

Permissions used are 使用的权限是

<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.osfg.devicelocator.locationapi.maps.permission.MAPS_RECEIVE" />

Can someone please guide as to what needs to be changed here? 有人可以指导在这里需要更改什么吗?

So the issue was in permissions 所以问题出在权限

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

There require GPS hardware features and because of this app was not showing up on playstore for my tablet (it does not have GPS). 那里需要GPS硬件功能,并且由于此应用未显示在我的平板电脑的playstore中(它没有GPS)。 However there dependency on GPS as location can be obtained from Wifi network as well. 但是,也可以从Wifi网络获取对GPS的依赖,因为其位置也可以。 So adding following to manifest file resolved the issue 因此,在清单文件中添加以下内容可以解决此问题

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

Updating the same apk on playstore showed following (GPS feature removed) 在Playstore上更新相同的APK显示如下(已删除GPS功能)

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM