Using APK Splits for Release but not Debug build type
I've successfully implemented APK Splits so that separate APKs are generated for different ABIs. However, for efficiency (and since I have no need for non-armeabi-v7a APKs in Debug), I would like to limit Debug builds to only generate armeabi-v7a APKs. How can this be done? One idea is with this: abi { enable true reset() include 'x86', 'armeabi-v7a', 'mips' universalApk false } Maybe there is some way to set enable based on the Build type? Jeff P You can try a variation on @Geralt_Encore's answer, which avoids the separate gradlew command. In my case, I only cared to use APK splitting to