(base) ➜ matrix-android git:(master) ✗ ./gradlew buildFAILURE: Build failed with an exception.* What went wrong: A problem occurred configuring project ':matrix-android-commons'. > 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 --info or --debug option to get more log output.* Get morehelp at https://help.gradle.orgBUILD FAILED in 0s
This version of the NDK is incompatible with the Android Gradle plugin version 3.0 or older. If you see an error like No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android, update your project file to [use plugin version 3.1 or newer]. You will also need to upgrade to Android Studio 3.1 or newer.
> Task :matrix-io-canary:generateJsonModelDebug[=="CMake Server"==[{"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":1}],"type":"hello"}]=="CMake Server"==]FAILURE: Build failed with an exception.* What went wrong: Execution failed for task ':matrix-io-canary:generateJsonModelDebug'. > Error occurred while communicating with CMake server. Check log /home/notzuonotdied/Android/Project/matrix/matrix/matrix-android/matrix-io-canary/.externalNativeBuild/cmake/debug/armeabi-v7a/cmake_server_log.txt for additional information.
居然就是我们前面Log输出的内容,这就有点尴尬了。只能Google下了。在Error:Error occurred while communicating with CMake server,中指出来了CMake is 3.10xxx is not working on my machine, CMake 3.6.4111459 is on working machine.Replaced these three items, the project is built successfully on my machine.。