1. 报错想象
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
编译模式:release
使用 Android Studio 工程:D:\CoCosCreator\HelloWorld\build\jsb-link\frameworks\runtime-src\proj.android-studio
正在生成 apk 文件...
正在执行:'"D:\CoCosCreator\HelloWorld\build\jsb-link\frameworks\runtime-src\proj.android-studio\gradlew.bat" --parallel --info assembleRelease'
....
SDK initialized in 87213 ms
Using incremental javac compilation for :hello_world debug.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':hello_world'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 6m 44s
执行命令出错,返回值:1。
2. 查看Android Studio 的 NDK 位置
发现确实没有 mips64el-linux-android
3. 解决方案
下载 mips64el-linux-android
Android开发者的官方网站