No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-

557 阅读1分钟

Android Studio中遇到如下编译错误时:

No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-

最简便解决方法: 在build.gradle中添加:

android {
    android.ndkVersion "21.4.7075529" // (or whichever NDK 22- version you have installed)