'Android NDK Apple SiliconM1 run into: Unknown host CPU architecture arm64
There are two kinds to build Android with NDK
cmake
externalNativeBuild {
cmake {
path "../sharedCode/CMakeLists.txt"
}
}
This works fine with Apple Silicon M1 👍
ndk-build
externalNativeBuild {
ndkBuild {
path "src/main/jni/Android.mk"
}
}
On a Apple Silicon M1 I run into
Unknown host CPU architecture arm64
The question is to solve this ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
