Android Manifest File: App Supports Tablets, but is marked “not compatible” in market?

℡╲_俬逩灬. 提交于 2021-02-09 07:32:20

问题


I've been reading several other things on the forum for handling the Manifest File. Though I've found answers; it still doesn't address my particular issue. My application is designed for any phone or tablet, but Google's Play Store says "Not Compatible." I'm attempting to make the application available to phones and tablets (cellular or just wifi). Any assistance would be terrific, thank you in advance. I'm clearly missing something in this manifest file.

These are the permissions requesting:

android.permission.INTERNET, 
android.permission.CALL_PHONE, 
android.permission.SEND_SMS, 
android.permission.ACCESS_NETWORK_STATE, 
android.permission.CHANGE_NETWORK_STATE, 
android.permission.ACCESS_WIFI_STATE, 
android.permission.CHANGE_WIFI_STATE, 
android.permission.ACCESS_COARSE_LOCATION, 
android.permission.READ_PHONE_STATE

Features:

android.hardware.location, 
android.hardware.location, 
android.hardware.location.network, 
android.hardware.touchscreen, 
android.hardware.wifi

It is quite an odd error; plus the methodology in which it appears to request is invalid.


回答1:


I could think that some tablets don't have call_phone permission, since they only have wifi? Are you sure the tablet has 3g functionality? (Also for the sms)




回答2:


For simplicity in case someone looks for my exact resolution; it is as follows:

<uses-permission android:name="android.hardware.telephony android:required="false" />

Once that was added instead of leaving it out, it appears to of triggered correctly.



来源:https://stackoverflow.com/questions/9842704/android-manifest-file-app-supports-tablets-but-is-marked-not-compatible-in-m

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!