From 284e78aa14cb1e200b328f015884c6be1368f16b Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Thu, 12 Jun 2025 10:42:16 +0200 Subject: [PATCH] buildsystem: set the variant abiName to all by default GRADLE_ABI is never set when building the APK from the build script or in AndroidStudio. outputAbi is always null for me, but maybe it works in other systems. --- application/app/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/app/build.gradle b/application/app/build.gradle index 12d2fb90c..108d3d2d9 100644 --- a/application/app/build.gradle +++ b/application/app/build.gradle @@ -150,8 +150,7 @@ android { //Custom APK name and versionCode variant.outputs.each { output -> def outputAbi = output.getFilter(com.android.build.OutputFile.ABI) - def abiName = System.getenv('GRADLE_ABI')?.toLowerCase() ?: "all" - if (outputAbi != null) abiName = outputAbi + def abiName = outputAbi ?: "all" def versionCode = abiCodes.get(abiName, 0) if (variant.buildType.name == "vlcBundle") { versionCode = 9