Android app not available for some tablets in Google Play(Android 应用程序不适用于 Google Play 中的某些平板电脑)
问题描述
我在 Google Play 商店中发布了一个 Android 应用.我已经开发并在一些模拟器、我的移动电话和我的 7" 平板电脑上测试了它.完全没有问题.我检测到在尝试将应用程序从商店安装到我的平板电脑时,它说它与我的设备不兼容.我已经搜索了原因,并在清单中添加了一些行,如下所示:
I have published an Android app in Google Play Store. I have developed it and tested it on some emulators, my mobile tel and my 7" tablet. No problem at all. I have detected that when trying to install the app from the store to my tablet, it says that it is not compatible with my device. I have searched for the reason, and I have added some lines to the manifest, like these:
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
但没有解决.我还添加了:
But not solved. I have added also:
<uses-feature android:name="android.hardware.telephony" android:required="false">
但没有解决.
该应用使用 Google Maps API.我的平板电脑没有列出的唯一原因可能是 GPS 的使用.我在开发过程中一直模拟我当前的位置,我应该在清单中进行哪些更改以允许没有 GPS 服务的设备与 Google Play 商店过滤器兼容?
The app uses Google Maps API. And the only reason for not being listed for my tablet may be the GPS use. I have always emulated my current position while developing, what should I change in the manifest to allow devices with no GPS service to be compatible to the Google Play Store filters?
谢谢
已编辑以包含整个 AndroidManifest.xml 文件:
EDITED TO INCLUDE THE ENTIRE AndroidManifest.xml file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.solinpromex.casajuventudtrescantos"
android:versionCode="4"
android:versionName="1.4" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<meta-data android:name="com.google.android.maps.v2.API_KEY"
android:value="not shown here"/>
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
<uses-feature android:name="android.hardware.telephony" android:required="false"></uses-feature>
<permission android:name="com.solinpromex.casajuventudtrescantos.permission.MAPS_RECEIVE"
android:protectionLevel="signature"/>
<uses-permission android:name="com.solinpromex.casajuventudtrescantos.permission.MAPS_RECEIVE"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<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"/>
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
<uses-feature
android:glEsVersion="0x00020000"
android:required="true"/>
<application
android:allowBackup="true"
android:icon="@drawable/logo192"
android:label="@string/app_name"
android:theme="@style/AppTheme"
>
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name="com.solinpromex.casajuventudtrescantos.Inicio"
android:label="@string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
..activities come here
</application>
</manifest>
推荐答案
正如我在问题中所建议的,解决方案是将以下行添加到 AndroidManifest.xml:
As I suggested in my question, the solution was to add the following lines to AndroidManifest.xml:
<uses-feature android:name="android.hardware.location.gps" android:required="false"></uses-feature>
<uses-feature android:name="android.hardware.telephony" android:required="false"></uses-feature>
这篇关于Android 应用程序不适用于 Google Play 中的某些平板电脑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android 应用程序不适用于 Google Play 中的某些平板电脑


基础教程推荐
- 在 iOS 上默认是 char 签名还是 unsigned? 2022-01-01
- Android文本颜色不会改变颜色 2022-01-01
- 固定小数的Android Money Input 2022-01-01
- Android ViewPager:在 ViewPager 中更新屏幕外但缓存的片段 2022-01-01
- 如何使用 YouTube API V3? 2022-01-01
- 如何使 UINavigationBar 背景透明? 2022-01-01
- LocationClient 与 LocationManager 2022-01-01
- 使用 Ryzen 处理器同时运行 WSL2 和 Android Studio 2022-01-01
- “让"到底是怎么回事?关键字在 Swift 中的作用? 2022-01-01
- :hover 状态不会在 iOS 上结束 2022-01-01