From 3846a4608333f695b33983f1cefb66b78138c84e Mon Sep 17 00:00:00 2001 From: leiiiooo Date: Thu, 28 Nov 2019 19:55:44 +0800 Subject: [PATCH] feat: support high level ndk version --- smartcropperlib/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smartcropperlib/build.gradle b/smartcropperlib/build.gradle index 355ec78..e6f88ba 100644 --- a/smartcropperlib/build.gradle +++ b/smartcropperlib/build.gradle @@ -15,6 +15,7 @@ android { cmake { cppFlags "-std=c++11 -frtti -fexceptions" abiFilters 'armeabi-v7a', "arm64-v8a", 'x86', 'x86_64' + arguments "-DANDROID_TOOLCHAIN=clang", "-DANDROID_STL=c++_static" } } @@ -38,4 +39,4 @@ android { dependencies { api fileTree(dir: 'libs', include: ['*.jar']) api 'org.tensorflow:tensorflow-lite:1.13.1' -} \ No newline at end of file +}