android - Gradle density split for tvdpi and 560dpi -
how use gradle density split generate apks compatible tvdpi , 560dpi devices?
i use gradle density split in google play application , noticed no matter change not generating android:screendensity="213" (for tvdpi) , android:screendensity="560" (for nexus 6) inside compatible-screens element , apks not compatible popular devices.
for testing purposes created new application in android studio (1.2b) using gradle build tools version 1.1.0 following build.gradle file app module:
apply plugin: 'com.android.application' android { compilesdkversion 21 buildtoolsversion "21.1.2" defaultconfig { applicationid "com.example.marek.densitysplittest" minsdkversion 21 targetsdkversion 21 versioncode 1 versionname "1.0" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } splits { density { enable true compatiblescreens 'small', 'normal', 'large', 'xlarge' } } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) }
it generating apks ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi and not for tvdpi, 400dpi, 560dpi.
however have found density split example suggests possible use values "560dpi":
splits { density { enable true exclude "ldpi", "tvdpi", "xxxhdpi", "400dpi", "560dpi" compatiblescreens 'small', 'normal', 'large', 'xlarge' } }
i have imported project , removed exclude build file , still weren't created (tvdpi, 400dpi , 560dpi).
i have tried reset() include , effect same - none of decompiled apks contain proper compatible-screens tag screen density need.