1

Hi I am in a spot of bother I am not sure how to configure my build.gradle script to build Apks for the supported screen sizes. And I am confused as to what Google play uses to check which apk to install does it check the screen size of the device or the screen desity?

morristech
  • 43
  • 2
  • 7

1 Answers1

0

I don't think I got what you want, but if you want just to separate resources by density, the right way to do it is configure the res folder, not build.gradle file. In the res folder, you can configure layouts and drawables by density or even by height/width. Do not over kill using gradle for this purpose, just use regular res folder.

BTW, Play store do not define density or correlated stuff, your app defines the resolutions to be displayed in each device, according to the configurations you've done in your res folder.

filipe.costa01
  • 238
  • 1
  • 10