My App isn't Compatible with Nexus 7 on Google Playstore

不羁岁月 提交于 2020-01-01 09:44:34

问题


Hii i have submitted an app to playstore but it isn't compatible with Nexus here is my Manifest My App is on List of supported Devices in the Google Play

and when i check the same in the nexus device it is not at all visible on Search

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

 <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.GET_TASKS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.GET_ACCOUNTS"  />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
<uses-permission android:name="android.permission.PREVENT_POWER_KEY"  />
<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.location" android:required="false"/>
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
<uses-permission
    android:name="android.permission.FLASHLIGHT"
    android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
    android:protectionLevel="normal"
    android:required="false" />

I Have Searched in google and did necessary Modifications to Manifest still i don't know why my app isn't compatible with nexus 7

please help me

Thanks In Advance


回答1:


You need to add

<uses-feature android:name="android.hardware.camera" android:required="false"/>

and

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

and may be remove the camera permission.

Look here and this reads:

Be aware of which system features that you declare (or imply) are required to run your application or the Play Store will not make your application available to Nexus 7 users. Always declare hardware features that aren't critical to your app as required="false" then detect at runtime if the feature is present and progressively enhance functionality




回答2:


The problem doesn't seem to be related to your listing on the app store. According to the console your application is compatible with the Nexus 7.

The first thing I would suggest is checking appt.

Next, my guess is that either the Play Store hasn't updated the listing yet or your device is not identifying itself appropriately.




回答3:


Remove the following permissions :

<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.CAMERA" />

They make sure that a camera and a flashlight are present on the device.

You've already mentioned :

<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<uses-permission
android:name="android.permission.FLASHLIGHT"
android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
android:protectionLevel="normal"
android:required="false" />

This should be enough. The permissions negate the android:required="false" feature and hence the Nexus 7 is excluded.

So, just remove the two permissions and it should work.




回答4:


You are declaring the flashlight permission twice. And the first time you aren't specifying that it is not required.

<uses-permission android:name="android.permission.FLASHLIGHT" />

This is probably conflicting with the second declaration.

<uses-permission
    android:name="android.permission.FLASHLIGHT"
    android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
    android:protectionLevel="normal"
    android:required="false" />

Try removing the first one and see what happens.




回答5:


  • uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" in manifest





回答6:


You should define the support screens feature in your manifest as below which will allow to support nexus 7:

<supports-screens android:smallScreens="true"
              android:normalScreens="true"
              android:largeScreens="true"
              android:xlargeScreens="true"
              android:requiresSmallestWidthDp="600" /> 



回答7:


According to this post: Nexus 7 Support for Android Application Manifest Assembly

Nexus 7 cannot support <uses-permission android:name="android.permission.CAMERA" />.




回答8:


Try including the following:

<compatible-screens>
....
    <!-- Special case for Nexus 7 -->
    <screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>

Look at this previous answer based on this workaround.




回答9:


As update button is shown in front of app, and also caution is given. So if you are able to update app then it could be some bug in Play Store app. or try removing

 <uses-permission android:name="android.permission.PREVENT_POWER_KEY"  />



回答10:


May be you need to add this line also since you are using READ_PHONE_STATE permission



来源:https://stackoverflow.com/questions/19263138/my-app-isnt-compatible-with-nexus-7-on-google-playstore

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