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 +}