From 331d31a6a3d0432108ac4ef34cf1edf34f1edb1d Mon Sep 17 00:00:00 2001 From: Johan Vos Date: Wed, 16 Sep 2020 13:44:01 +0200 Subject: [PATCH] fix for #776 Hard-set the properties required for JavaCPP in the Android launcher --- src/main/resources/native/android/c/launcher.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/native/android/c/launcher.c b/src/main/resources/native/android/c/launcher.c index 14b8d753e..5ef184437 100644 --- a/src/main/resources/native/android/c/launcher.c +++ b/src/main/resources/native/android/c/launcher.c @@ -65,6 +65,9 @@ const char *origArgs[] = { "-Dmonocle.input.touchRadius=1", "-Dmonocle.input.traceEvents.verbose=true", "-Dprism.verbose=true", + "-Dorg.bytedeco.javacpp.platform=arm64-v8a", + "-Dorg.bytedeco.javacpp.platform.library.path=/lib", + "-Dorg.bytedeco.javacpp.pathsFirst=true", "-Xmx4g"}; void registerMethodHandles(JNIEnv *aenv)