From 7a3df224e6d9f120c0b7d2188730f42a627d2cf8 Mon Sep 17 00:00:00 2001 From: ignaciogarcia Date: Thu, 27 Oct 2022 11:15:49 +0200 Subject: [PATCH] PEMA-107 Add argument to ndk to prevent "bad file descriptor" Reference: https://jira.appcelerator.org/plugins/servlet/mobile#issue/TIMOB-27776 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 1ba4235..770959b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -81,7 +81,7 @@ android { jniDebuggable true externalNativeBuild { ndkBuild { - arguments "-j${threadsToUse}", 'NDK_LOG=1', 'NDK_DEBUG=1', 'NDEBUG=null' + arguments "-j${threadsToUse}", 'NDK_LOG=1', 'NDK_DEBUG=1', 'NDEBUG=null', '--output-sync=none' // arguments '-B', 'NDK_DEBUG=1', 'NDEBUG=null', 'NDK_LOG=1' } }