在Android studio项目是出现错误 SIMPLE: Error configuring
经过网络搜索 解决方式:
用./gradlew build 命令执行看看具体错误
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
$ git clone git://github.com/ninja-build/ninja.git && cd ninja
$ git checkout release
$ python ./bootstrap.py
上述命令会在当前目录下生成一个ninja文件,然后将这个文件拷贝到/usr/local/bin目录下就完成安装了。 项目构建成功!