Phil Phil - 1 year ago 55
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 -->
<!-- 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" />

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 Source

Add this to screen size

    android:screenSize="normal" />

it will hopefully solve your issue