Phil Phil - 2 months ago 13
Android Question

Google Play: Huawei Nexus 6P is not compatible with the app

I have an Android app that I have restricted to only handsets. I used the following code to only allow handsets to download the app from Google Play

<!-- Only permit app to be used on handsets, prevent tablets -->
<compatible-screens>
<!-- all small size screens -->
<screen android:screenDensity="ldpi" android:screenSize="small" />
<screen android:screenDensity="mdpi" android:screenSize="small" />
<screen android:screenDensity="hdpi" android:screenSize="small" />
<screen android:screenDensity="xhdpi" android:screenSize="small" />
<screen android:screenDensity="480" android:screenSize="small" />
<!-- all normal size screens -->
<screen android:screenDensity="ldpi" android:screenSize="normal" />
<screen android:screenDensity="mdpi" android:screenSize="normal" />
<screen android:screenDensity="hdpi" android:screenSize="normal" />
<screen android:screenDensity="xhdpi" android:screenSize="normal" />
<screen android:screenDensity="480" android:screenSize="normal" />
<!-- LG G3 QHD Resolution -->
<screen android:screenDensity="640" android:screenSize="small" />
<screen android:screenDensity="640" android:screenSize="normal" />
<screen android:screenDensity="640" android:screenSize="large" />
<screen android:screenDensity="640" android:screenSize="xlarge" />
</compatible-screens>


Today, a user reported that Google Play is telling them their device is not compatible with the app. They are using a Verizon Wireless Huawei Nexus 6P running Android 6.0 Marshmallow.

I'm guessing I need to add more to the node of my manifest to support this device, however I'm not sure what the screenDensity would be for it. How can I get this device supported by my app?

When I create an emulator for this exact device in Android Studio, the app runs on it perfectly fine.

Answer

Add this to screen size

<screen
    android:screenDensity="560"
    android:screenSize="normal" />

it will hopefully solve your issue

Comments