1. 程式人生 > >No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

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

The 問題 lin issue androi 回來 mips lam 上傳

原文:No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

今天把ndk升級了,但之前的串口通信的例子卻無法編譯了,一直報錯

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

後來google了下,查到原因

https://github.com/google/filament/issues/15

是google在ndk r17版本刪除了mips相關的toolchains文件。

我們要做的要麽是修改編譯文件,要麽就把缺少的mips文件從舊版本復制回來,由於串口程序不是我寫的,所以我選擇後者,從同事的電腦上把舊版本的mips相關文件復制了回來,為了保證以後再出現類似問題,我將這個文件上傳到雲盤。

下載鏈接

鏈接:https://pan.baidu.com/s/1z-gsTNzHoHqFnw_kfDssFg
提取碼:yg09

解壓後放到目錄 ndk-bundle/toolchains/ 目錄下就好

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