解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

网上一堆有的没的,依稀记得自己这是第二次遇到这样的错误了,这个错其实就是本地的ndk版本与你的demo里的版本不兼容引起的,所以你需要去ndk官网试着下载几个老版本,比如,13,17版的

NDK历史版本

解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

我这次是导入阿里热更新demo报的这个错,导入13版本的解决问题。

使用

1.将下载好的压缩包解压,然后将它放到你的sdk根目录下,上面三个是自己新下载的,下面那个是用Android Studio工具下载的

解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

2.在Android Studio中打开Project Structure

解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

3.设置相应的版本路径

解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android

4.完成后点击Sync Project解决:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android