Why am I getting this optimization tip on Google Play

On Google Play, one of my applications receives this warning when optimizing tips:

Your APK must meet the following criteria: Uses available screen space on 7-inch tablets.

I have read the documentation and cannot see what I am doing wrong. If I look at the details of the APK in the Developer Console, it says that 4 screen layouts are supported (small, regular, large, xlarge).

My manifest file is pretty simple with this using -sdk:

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

I created a simple dummy application with almost the same manifest file, and this application does not receive this warning. I am embarrassed:-). Is there anything else I need to declare tablet support?

+6
source share
2 answers

You can add this to your manifest:

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

However, this:

Your APK must meet the following criteria: use the available screen space on 7-inch tablets.

refers to something else. I assume that the developer console checked the structure of your application and found out that you are not using the layout-sw600dp or layout-sw720dp , etc., to optimize your layouts for tablets.

0
source

From all that I managed to get, it is probably caused by excessive spaces in your layouts. It looks like Google has an algorithm that generates a screen layout, and if there is a space on the tablet more than X%, it says it is not optimized for tablets. What X% I could not say.

0
source

Source: https://habr.com/ru/post/945700/


All Articles