Commit f2f7df73 authored by fallenstardust's avatar fallenstardust

升级为NDK-21d

parent 1e8d4320
...@@ -8,13 +8,13 @@ Android编译环境 ...@@ -8,13 +8,13 @@ Android编译环境
ndk编译环境(请用迅雷,旋风,或者翻墙vpn下载) ndk编译环境(请用迅雷,旋风,或者翻墙vpn下载)
--------------------- ---------------------
稳定ndk 稳定ndk
https://dl.google.com/android/repository/android-ndk-r20b-windows-x86_64.zip https://dl.google.com/android/repository/android-ndk-r21d-windows-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r20b-darwin-x86_64.zip https://dl.google.com/android/repository/android-ndk-r21d-darwin-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip https://dl.google.com/android/repository/android-ndk-r21d-linux-x86_64.zip
重要 重要
--------------------------------------------- ---------------------------------------------
NDKR20编译已经通过,更加新的NDK可能通不过 NDKR21d编译已经通过,更加新的NDK可能通不过
根据自己的系统下载上面的压缩包,解压并且配置环境变量,cmd窗口,输ndk-build --version,看到一堆数字和英文的版权就是ok了 根据自己的系统下载上面的压缩包,解压并且配置环境变量,cmd窗口,输ndk-build --version,看到一堆数字和英文的版权就是ok了
不懂环境变量?没关系,自己自动把下文的ndk-build前面,加上NDK解压的文件夹比如D:\NDK\ndk-build -j4 不懂环境变量?没关系,自己自动把下文的ndk-build前面,加上NDK解压的文件夹比如D:\NDK\ndk-build -j4
......
...@@ -8,7 +8,7 @@ android { ...@@ -8,7 +8,7 @@ android {
//noinspection ExpiredTargetSdkVersion //noinspection ExpiredTargetSdkVersion
targetSdkVersion 29 targetSdkVersion 29
flavorDimensions "versionCode" flavorDimensions "versionCode"
ndkVersion "20.1.5948944" ndkVersion "21.3.6528147"
/* ndk { /* ndk {
moduleName "YGOMobile" moduleName "YGOMobile"
abiFilters "armeabi-v7a","x86" abiFilters "armeabi-v7a","x86"
......
...@@ -5,7 +5,7 @@ android { ...@@ -5,7 +5,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
ndkVersion "20.1.5948944" ndkVersion "21.3.6528147"
//noinspection ExpiredTargetSdkVersion //noinspection ExpiredTargetSdkVersion
targetSdkVersion 29 targetSdkVersion 29
......
...@@ -13,7 +13,7 @@ android { ...@@ -13,7 +13,7 @@ android {
versionName "3.11.12fix1" versionName "3.11.12fix1"
flavorDimensions "versionCode" flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
ndkVersion "20.1.5948944" ndkVersion "21.3.6528147"
ndk { ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86" abiFilters "armeabi-v7a", "arm64-v8a", "x86"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment