From dd2b6e456d53fabc768694af35829f442e4f06dd Mon Sep 17 00:00:00 2001 From: GitLqr <960432662@qq.com> Date: Mon, 4 Jul 2022 01:19:57 +0800 Subject: [PATCH] =?UTF-8?q?refact:=20=E6=9B=B4=E6=96=B0=20ndkVersion=20?= =?UTF-8?q?=E4=B8=BA=2022.1.7171670=EF=BC=8C=E7=A7=BB=E9=99=A4=20ndk{abiFi?= =?UTF-8?q?lters}=20=E9=85=8D=E7=BD=AE=EF=BC=88=E6=97=A0=E5=A5=88jitpack?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81r16b=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libyuv/build.gradle | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/libyuv/build.gradle b/libyuv/build.gradle index 23184b6..02a06f1 100644 --- a/libyuv/build.gradle +++ b/libyuv/build.gradle @@ -10,12 +10,12 @@ android { targetSdkVersion 29 versionCode 1 versionName "1.0" - ndk { - // NDK r16b 默认移除了 armeabi 与 mips,但是可以通过手动声明开启,但在 r17 中这项功能将会永久失效 - // https://developer.android.com/ndk/guides/application_mk - // https://developer.android.com/ndk/downloads/revision_history?hl=zh-cn - abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64", "mips", "mips64" - } + // ndk { + // // NDK r16b 默认移除了 armeabi 与 mips,但是可以通过手动声明开启,但在 r17 中这项功能将会永久失效 + // // https://developer.android.com/ndk/guides/application_mk + // // https://developer.android.com/ndk/downloads/revision_history?hl=zh-cn + // abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64", "mips", "mips64" + // } externalNativeBuild { cmake { cppFlags "" @@ -33,7 +33,10 @@ android { path 'CMakeLists.txt' } } - ndkVersion '16.1.4479499' + + // No version of NDK matched the requested version 16.1.4479499. Versions available locally: 22.1.7171670 + // ndkVersion '16.1.4479499' + ndkVersion '22.1.7171670' } dependencies {