问题描述
Google Play 商店坚持认为我的应用受 0 台设备支持,我遇到了问题.我已经尝试了在 SO 和其他地方找到的所有解决方案.这与 apk 处于非活动状态无关,它是默认激活的,我什至尝试停用并重新激活它.
I'm having trouble with the Google Play store that insists that my app is supported by 0 devices. I've tried all the solutions I found on SO and elsewhere. This isn't about the apk being inactive, it gets activated be default and I've even tried to deactivate and reactivate it.
我已经在我的 Galaxy Nexus 上对其进行了测试,它运行良好,没有理由让它与每一个 Android 设备不兼容...
I've tested it on my Galaxy Nexus and it works very well, there's no reason for it to be incompatible with every single Android device...
这是我的清单文件:
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="17" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature
android:name="android.hardware.accelerometer"
android:required="true" />
<uses-feature
android:name="android.hardware.screen.portrait"
android:required="false" />
完整的项目源代码可以在这里找到:https://github.com/Nurgak/Android-Bluetooth-Remote-Control 因为它是开源的.
The full project source can be found here: https://github.com/Nurgak/Android-Bluetooth-Remote-Control as it's open-source.
这是我在 Google Play 上看到的.
This is what I see on Google Play.
5 个特点
android.hardware.ACCELEROMETER
android.hardware.BLUETOOTH
android.hardware.CAMERA
android.hardware.camera.AUTOFOCUS
android.hardware.TOUCHSCREEN
还有4个权限
android.permission.BLUETOOTH
android.permission.BLUETOOTH_ADMIN
android.permission.CAMERA
android.permission.INTERNET
我也对他们的支持感到非常震惊,我只是笼统地说嘿,你看过我们的常见问题解答了吗?"回复电子邮件.
I'm absolutely appalled by their support too, I've only gotten generic "hey have you looked at our FAQs?" replies to e-mails.
推荐答案
- 尝试将 apk 名称从
com.bluetooth
更改为com.nurgak.bluetoothremote
- 尝试将所有
uses-feature"-tag
设置为false
- 尝试删除所有权限(我知道如果没有这些权限,该应用将无法运行,但只是为了弄清楚为什么 Google Play 说该应用支持 0 个设备)
P.S.:如果你设置它,你不需要 android.hardware.screen.portrait
无论如何,false
.在这种情况下它没有效果.
P.S.: You don't need
android.hardware.screen.portrait
if you set it tofalse
, anyway. It doesn't have an effect in that case.
这篇关于0 台设备支持 Android 应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!