Skip to content

Commit d699d4b

Browse files
committed
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.
1 parent 7187c25 commit d699d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/android/java/lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ android {
106106
boolean devBuild = buildType == "dev"
107107
boolean debugSymbols = devBuild
108108
boolean runTests = devBuild
109-
boolean productionBuild = !devBuild
110109
boolean storeRelease = buildType == "release"
110+
boolean productionBuild = storeRelease
111111

112112
def sconsTarget = flavorName
113113
if (sconsTarget == "template") {

0 commit comments

Comments
 (0)