My App isn't Compatible with Nexus 7 on Google

2019-04-08 08:29发布

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 enter image description here

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

enter image description here

 <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

10条回答
来,给爷笑一个
2楼-- · 2019-04-08 08:52

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.

查看更多
Explosion°爆炸
3楼-- · 2019-04-08 08:57

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

查看更多
祖国的老花朵
4楼-- · 2019-04-08 08:57

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"  />
查看更多
我命由我不由天
5楼-- · 2019-04-08 08:58

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.

查看更多
登录 后发表回答