Skip to content

Commit

Permalink
refact: 更新 ndkVersion 为 22.1.7171670,移除 ndk{abiFilters} 配置(无奈jitpack不…
Browse files Browse the repository at this point in the history
…支持r16b)
  • Loading branch information
GitLqr committed Jul 3, 2022
1 parent 589dcc2 commit dd2b6e4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions libyuv/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand All @@ -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 {
Expand Down

0 comments on commit dd2b6e4

Please sign in to comment.