gpt4 book ai didi

android - 为什么 google play store 没有显示应用程序设备不可用的原因?

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:39:39 26 4
gpt4 key购买 nike

我是一名移动应用程序开发人员,同时也从事 native 和 Phone Gap 方面的工作。

我在 Phonegap 中构建了一个应用程序,它在设备中运行良好,但在某些选项卡中无法运行。

我根据 Google Play Store policy 在这里找到的.但为什么他们没有显示原因是由于某些此类无效代码或由于 Google 不允许您在某些特定设备上运行的某些特定错误。

查询 1: 我有 Samsung Galaxy tab 2 和 tab 3。根据不受支持的设备可用性列表,我的应用程序无法在这两款平板电脑上运行,当用户从平板电脑搜索时,他们找不到应用也在 Play 商店中。

在我的应用程序中,我为所有设备和平板电脑设置了所有要求,如下所示,

 <?xml version="1.0" encoding="utf-8" ?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="my_pkg" android:hardwareAccelerated="true" android:versionCode="6" android:versionName="1.5" android:windowSoftInputMode="adjustPan">

<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="18" />

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />


<application android:debuggable="false" android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name">
<receiver android:name="my_pkg.AlarmReceiver">
</receiver>
<receiver android:name="my_pkg.AlarmRestoreOnBoot">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>

<activity android:name="my_pkg.MainActivity" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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

</manifest>

所以,我被困在这里我的应用程序出了什么问题,为什么 Google 商店不允许在某些设备和平板电脑上安装我的应用程序。

一周前不受支持的设备和平板电脑总数为 1550,现在为 1153。

问题 2:我如何找到导致我无法在平板电脑上运行我的应用程序的错误以及如何解决它?

请帮助我如何解决这个问题,因为不知道我该如何解决。

最佳答案

在 RnD 上花了很长时间后,我终于找到了解决方案。实际上我不是这个答案的独立创始人。非常感谢所有帮助我解决这个问题的人。

Divesh Salian 的答案很接近。我按照他的指示进行了尝试,并同时更改了我的 config.xml文件中有一些不必要的 <features></features>标签。

我在 Samsung Developer form 中提出了我的问题还尝试在 RTL 中测试我的应用程序,但我无法在网络浏览器中登录,不知道为什么?

最后我应用了一些关于 <uses-feature></uses-feature> 的其他替代方案

 <uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-feature
android:name="android.hardware.microphone"
android:required="false" />
<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.front"
android:required="false" />
<uses-feature
android:name="android.software.input_methods"
android:required="false" />

我使用了上述功能,但不打算以此为基础过滤应用程序,所以我设置了 android:required="false"对于一些特定的功能。

如果发现此类问题,请注意以下事项

我希望这些链接一定能解决您的问题。

再次感谢大家!!!

关于android - 为什么 google play store 没有显示应用程序设备不可用的原因?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19947084/

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