ABIs [arm64-v8a, x86_64] are not supported for platform. Supported ABIs are [armeabi-v7a, x86].
Contents
M1的兼容性问题还是不少,比如NDK开发遇到坑了,提示
ABIs [arm64-v8a, x86_64] are not supported for platform. Supported ABIs are [armeabi-v7a, x86]
然后找到了这个issue: https://github.com/android/ndk/issues/1299
尝试了无果。
然后无意中发现其他人的M1可以编译,对比后发现是NDK版本问题,我使用的最新22版本报错,但是降级到21.1.6352462
后能正常编译成功。