diff --git a/android/templates/module/generated/build.gradle b/android/templates/module/generated/build.gradle index f28a5aee09c..557e52eb3ba 100644 --- a/android/templates/module/generated/build.gradle +++ b/android/templates/module/generated/build.gradle @@ -16,6 +16,7 @@ def tiModuleBindingsJsonPath = "${buildDir}/ti-generated/json/<%- moduleName %>. android { compileSdkVersion <%- compileSdkVersion %> + ndkVersion '22.1.7171670' defaultConfig { minSdkVersion 19 targetSdkVersion <%- compileSdkVersion %> @@ -59,7 +60,8 @@ android { arguments.addAll([ 'APP_STL:=c++_shared', "-j${Runtime.runtime.availableProcessors()}".toString(), - '--output-sync=none' + '--output-sync=none', + 'APP_LD=deprecated' ]) } }