From d699d4b7d4933e941f55b564537d0b3d34f332ca Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Wed, 30 Oct 2024 21:15:31 -0700 Subject: [PATCH] Update the `production` build argument for Android Studio debug builds Swappy is required for `production` build which breaks the Android Studio debug builds as those turns on the `production` argument. This commit updates the logic so that the `production` argument is only used by Android Studio for `release` builds. --- platform/android/java/lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle index f6aee434e55e..f273105efcbe 100644 --- a/platform/android/java/lib/build.gradle +++ b/platform/android/java/lib/build.gradle @@ -106,8 +106,8 @@ android { boolean devBuild = buildType == "dev" boolean debugSymbols = devBuild boolean runTests = devBuild - boolean productionBuild = !devBuild boolean storeRelease = buildType == "release" + boolean productionBuild = storeRelease def sconsTarget = flavorName if (sconsTarget == "template") {