From 8c62cee320390c20f0c92e19847a6b7df8547771 Mon Sep 17 00:00:00 2001 From: DannyIsFunny <912790387@qq.com> Date: Wed, 16 Sep 2020 11:25:59 +0000 Subject: [PATCH] test=develop --- cmake/cross_compiling/android.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/cross_compiling/android.cmake b/cmake/cross_compiling/android.cmake index 68f91fe881..dfa3cf41db 100644 --- a/cmake/cross_compiling/android.cmake +++ b/cmake/cross_compiling/android.cmake @@ -36,9 +36,9 @@ if(NOT DEFINED ANDROID_API_LEVEL) set(ANDROID_API_LEVEL "23") if(ARM_TARGET_ARCH_ABI STREQUAL "armv7") if(LITE_WITH_NPU AND NOT LITE_ON_TINY_PUBLISH) - set(ANDROID_API_LEVEL "24") # HIAI DDK depends on android-24 + set(ANDROID_API_LEVEL "21") # HIAI DDK depends on android-24 else() - set(ANDROID_API_LEVEL "22") + set(ANDROID_API_LEVEL "21") endif() endif() endif() -- GitLab