From abe994bdedbae35311ea7201b229039e062f9ae0 Mon Sep 17 00:00:00 2001 From: Bin Li Date: Tue, 10 Jul 2018 15:08:29 +0800 Subject: [PATCH] conform android demo to mace --- mace/examples/android/app/build.gradle | 2 +- mace/examples/android/macelibrary/build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mace/examples/android/app/build.gradle b/mace/examples/android/app/build.gradle index 0e4d948e..a1f68ed3 100644 --- a/mace/examples/android/app/build.gradle +++ b/mace/examples/android/app/build.gradle @@ -4,7 +4,7 @@ android { compileSdkVersion 26 defaultConfig { applicationId "com.xiaomi.mace.demo" - minSdkVersion 19 + minSdkVersion 21 targetSdkVersion 26 versionCode 1 versionName "1.0" diff --git a/mace/examples/android/macelibrary/build.gradle b/mace/examples/android/macelibrary/build.gradle index 2f25f017..891ad5b7 100644 --- a/mace/examples/android/macelibrary/build.gradle +++ b/mace/examples/android/macelibrary/build.gradle @@ -9,14 +9,14 @@ android { } defaultConfig { - minSdkVersion 19 + minSdkVersion 21 targetSdkVersion 26 versionCode 1 versionName "1.0" externalNativeBuild { cmake { - cppFlags "-std=c++14 -fopenmp" + cppFlags "-std=c++11 -fopenmp" abiFilters "arm64-v8a" } } -- GitLab