What is the correct screen configuration and density of the Nexus 6?

My app does not display Nexus 6 as a supported device in the Google Play Console.

I read the blog post Getting your apps for Nexus 6 and Nexus 9 , which says:

Nexus 6 has a quantized density of 560 dpi , which is between xxhdpi and xxxhdpi for the primary density.

There is a paragraph in my problem:

Make sure you are not filtered on Google Play

If you use AndroidManifest.xml in the file, you should stop using it because it does not scale to recompile and publish your application every time new devices appear. However, if you use it, be sure to update the manifest to add configuration for these devices (in size and screen density). Otherwise, your application may be excluded from Google Play search results on these devices.

Well, I have to use <compatible-screens> because I'm trying to exclude my application from the tablet.

My current <compatible-screens> element in the manifest looks like this:

 <compatible-screens> <!-- 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" /> <!-- 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" /> <screen android:screenDensity="640" android:screenSize="normal" /> </compatible-screens> 

What is the correct configuration for the Nexus 6?

I tried:

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

But none of this sounds like a trick.

+8
android google-nexus android-manifest device-compatibility
source share
1 answer

I asked for Google Play support and received an answer that helped me solve the problem.

Still not 100% sure of the correct screen configuration, but it looks like

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

- the correct option.


My application was not compatible with Nexus 6, although due to a conflict in the application manifest. I used the following performance requirements:

 <uses-feature android:name="android.hardware.LOCATION" /> <uses-feature android:name="android.hardware.TELEPHONY" /> <uses-feature android:name="android.hardware.TOUCHSCREEN" /> <uses-feature android:name="android.hardware.WIFI" /> <uses-feature android:name="android.hardware.location.GPS" /> <uses-feature android:name="android.hardware.location.NETWORK" /> <uses-feature android:name="android.hardware.screen.PORTRAIT" /> 

But the correct version has the functions listed in all lowercase letters:

 <uses-feature android:name="android.hardware.LOCATION" /> <uses-feature android:name="android.hardware.TELEPHONY" /> <uses-feature android:name="android.hardware.TOUCHSCREEN" /> <uses-feature android:name="android.hardware.WIFI" /> <uses-feature android:name="android.hardware.location.GPS" /> <uses-feature android:name="android.hardware.location.NETWORK" /> <uses-feature android:name="android.hardware.screen.PORTRAIT" /> 

This is a bit complicated because permissions (in <uses-permission> ) such as

 <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 

should be indicated in capital letters , but the function (in <uses-feature> ) must be lowercase .

I have not encountered the same problem on any other device, but if Nexus 6 requires it, this is probably the right way to do it.

+6
source share

All Articles