为什么我的原生 Android 应用程序被标记为与某些中国平板电脑不兼容?
我有一个为armeabi和armeabi-v7a编译的本机应用程序 一些用户向我报告,Android 市场说我的应用程序与他们的设备不兼容,我真的不明白为什么不兼容。
在 AndroidManifest.xml 中,我有:
<uses-sdk
android:minSdkVersion="5"
android:targetSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
aapt dump badging 输出:
package: name='XXXXXXXXXXX' versionCode='12' versionName='0.2.5.1'
sdkVersion:'5'
targetSdkVersion:'15'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.WAKE_LOCK'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.ACCESS_COARSE_LOCATION'
uses-permission:'android.permission.ACCESS_FINE_LOCATION'
uses-permission:'android.permission.READ_PHONE_STATE'
application-label:'XXXXXX'
application-icon-120:'res/drawable-ldpi/ic_launcher.png'
application-icon-160:'res/drawable-mdpi/ic_launcher.png'
application-icon-240:'res/drawable-hdpi/ic_launcher.png'
application-icon-320:'res/drawable-xhdpi/ic_launcher.png'
application: label='XXXXXX' icon='res/drawable-mdpi/ic_launcher.png'
uses-feature:'android.hardware.location'
uses-feature:'android.hardware.location.gps'
uses-feature:'android.hardware.location.network'
uses-feature:'android.hardware.touchscreen'
other-activities
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '120' '160' '240' '320'
native-code: 'armeabi' 'armeabi-v7a'
此时我有从 Android 市场获得的两台平板电脑“此应用程序不兼容”:flytouch 4 和 Intreeo MID-WL7
对于 Intreeo MID-WL7 I还有这个快速系统信息专业报告:
Hardware wmt
Release 2.2
SDK 8
Build generic-eng 2.2 Froyo v1.2.0-20110920.163014
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 797.97
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5
Hardware : WMT
飞触摸系统报告:
Device: disco10
Modello: DISCO10
Board: unknown
Prodotto: DISCO10
Brand: generic
Produttore: unknown
CPU+ABI: armeabi
Bootloader: unknown
Radio: unknown
Hardware: imapx200
Release: 2.2
SDK: 8
Tipo: user
Build: FRF85B
Locale: it_IT
Linux version 2.6.32.9 (zjd@dtlinuxserver) (gcc version 4.4.0 (GCC) ) #1 Wed Jun 1 08:59:52 CST 2011
I've a native app compiled for armeabi and armeabi-v7a
Some users reported me that the Android Market says that my app is not compatible with their device, and I really don't understand why it isn't.
In the AndroidManifest.xml I've:
<uses-sdk
android:minSdkVersion="5"
android:targetSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
aapt dump badging output:
package: name='XXXXXXXXXXX' versionCode='12' versionName='0.2.5.1'
sdkVersion:'5'
targetSdkVersion:'15'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.WAKE_LOCK'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.ACCESS_COARSE_LOCATION'
uses-permission:'android.permission.ACCESS_FINE_LOCATION'
uses-permission:'android.permission.READ_PHONE_STATE'
application-label:'XXXXXX'
application-icon-120:'res/drawable-ldpi/ic_launcher.png'
application-icon-160:'res/drawable-mdpi/ic_launcher.png'
application-icon-240:'res/drawable-hdpi/ic_launcher.png'
application-icon-320:'res/drawable-xhdpi/ic_launcher.png'
application: label='XXXXXX' icon='res/drawable-mdpi/ic_launcher.png'
uses-feature:'android.hardware.location'
uses-feature:'android.hardware.location.gps'
uses-feature:'android.hardware.location.network'
uses-feature:'android.hardware.touchscreen'
other-activities
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '120' '160' '240' '320'
native-code: 'armeabi' 'armeabi-v7a'
At this moment I've this two tablet that got from Android market "This app isn't compatible": flytouch 4 and Intreeo MID-WL7
For Intreeo MID-WL7 I've also this Quick system info pro report:
Hardware wmt
Release 2.2
SDK 8
Build generic-eng 2.2 Froyo v1.2.0-20110920.163014
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 797.97
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5
Hardware : WMT
Fly touch system report:
Device: disco10
Modello: DISCO10
Board: unknown
Prodotto: DISCO10
Brand: generic
Produttore: unknown
CPU+ABI: armeabi
Bootloader: unknown
Radio: unknown
Hardware: imapx200
Release: 2.2
SDK: 8
Tipo: user
Build: FRF85B
Locale: it_IT
Linux version 2.6.32.9 (zjd@dtlinuxserver) (gcc version 4.4.0 (GCC) ) #1 Wed Jun 1 08:59:52 CST 2011
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信这是因为有问题的平板电脑可能没有可读取的手机状态,因为它们不是手机。很确定我读到如果所需的权限不可用,那么该应用程序将被阻止。
I believe it's because the tablets in question likely do not have a phone state to be read since they are not phones. Pretty sure I read that if a required permission is unavailable then the app will be blocked.