From 3a6923988d41dad4b5df2263f86742581fed1555 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Mon, 8 Jan 2018 14:52:46 -0800 Subject: [PATCH] CB-13646: End of an era. Using the deprecated NDK by default breaks the build. Crosswalk users need to specify the Gradle parameters to keep it working. --- bin/templates/cordova/lib/builders/StudioBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/templates/cordova/lib/builders/StudioBuilder.js b/bin/templates/cordova/lib/builders/StudioBuilder.js index 38923e14..8322e15b 100644 --- a/bin/templates/cordova/lib/builders/StudioBuilder.js +++ b/bin/templates/cordova/lib/builders/StudioBuilder.js @@ -58,7 +58,7 @@ StudioBuilder.prototype.getArgs = function (cmd, opts) { // to allow dex in process args.push('-Dorg.gradle.jvmargs=-Xmx2048m'); // allow NDK to be used - required by Gradle 1.5 plugin - args.push('-Pandroid.useDeprecatedNdk=true'); + // args.push('-Pandroid.useDeprecatedNdk=true'); args.push.apply(args, opts.extraArgs); // Shaves another 100ms, but produces a "try at own risk" warning. Not worth it (yet): // args.push('-Dorg.gradle.parallel=true');