我有一个最近开始使用ndk的项目。我有CI与Docker合作。将ndk添加到我的项目后,我将ndk添加到了docker文件中,但是现在我看到忍者版本存在问题。 这是日志输出
-- Check for working C compiler: /android-ndk-linux/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
CMake Error:
The detected version of Ninja () is less than the version of Ninja required
by CMake (1.3).
CMake Error: Internal CMake error, TryCompile generation of cmake failed
-- Check for working C compiler: /android-ndk-linux/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- broken
CMake Error at /sdk/cmake/3.6.4111459/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/android-ndk-linux/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" is not
able to compile a simple test program.
有人遇到同样的问题吗?这是我在docker hub https://cloud.docker.com/repository/docker/relgang/ndkfastlane上的docker文件的链接