Android解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-and问题。

问题说明:

导入下载的项目编译报错。错误如下:No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android。

问题原因:

是因为ndk中缺少相应的文件。

解决办法:

  • step1:找到你的ndk目录位置。

Android解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-and问题。

  • step2:复制该目录,在我的电脑中找到对应的文件夹,找到文件夹后,进入圈中文件夹。
    Android解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-and问题。
  • step3:查看文件。我缺失的是这个文件,根据错误原因找缺失文件。

Android解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-and问题。

  • step4:如果没有,前往下载。

下载地址,点击前往。

- step5:选择符合你的文件下载

Android解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-and问题。

  • step6:下载完成后,解压,找到toolchains进入。

Android解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-and问题。

  • step7:在下载的toolchains文件中,找到你缺失的文件,将其拷贝到你的toolchains目录下,我缺失的是圈中的文件。

Android解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-and问题。

  • step8:拷贝完成,重新编译就可以了。