-
Creator 版本:3.6.2
-
目标平台:Android
-
重现方式:
1、电脑环境(win10系统、处理器i71200H)
2、creator3.6.2构建后的项目,使用AndroidStudio 2021.3.1 版本打包apk时报错。
3、必现 -
首个报错:
F:\local\creator3d\native\engine\android\CMakeLists.txt : C/C++ debug|arm64-v8a : CMake Error at E:/Users/Administrator/AppData/Local/Android/Sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
“E:/Users/Administrator/AppData/Local/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe”
is not able to compile a simple test program.
It fails with the following output:
Change Dir: F:/local/creator3d/build/android/proj/build/cmake/debug/arm64-v8a/CMakeFiles/CMakeTmp
Run Build Command:"E:\Users\Administrator\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe" "cmTC_42213"
ninja: fatal: couldn't open nul
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
F:\local\creator3d\native\engine\android\CMakeLists.txt : C/C++ debug|arm64-v8a : Configuration failed.
executing external native build for cmake F:\local\creator3d\native\engine\android\CMakeLists.txt
- 编辑器操作系统: win10
- 重现概率:必现

