-
Creator 版本:1.9.1
-
目标平台: 安卓
-
开发平台“window10
-
详细报错信息,包含调用堆栈:
Putting task artifact state for task ‘:examplecases:compileReleaseRenderscript’ into context took 0.0 secs.
file or directory ‘F:\cocosWorkSpace\Example\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Executing task ‘:examplecases:compileReleaseRenderscript’ (up-to-date check took 0.005 secs) due to:
Task has failed previously.
file or directory ‘F:\cocosWorkSpace\Example\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
:examplecases:compileReleaseRenderscript FAILED
:examplecases:compileReleaseRenderscript (Thread[Task worker for ‘:’,5,main]) completed. Took 0.009 secs.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:libcocos2dx:compileReleaseRenderscript’.
llvm-rs-cc is missing
- Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
==============================================================================
2: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:examplecases:compileReleaseRenderscript’.
llvm-rs-cc is missing
-
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 1s
11 actionable tasks: 2 executed, 9 up-to-date
执行命令出错,返回值:1。
说明:
新建项目,然后选择范例项目,没有做任何修改,环境确认已经安装 了,
点击构建可以成功,点击编译和运行就报上面错误,谷歌搜索说安卓SDK版本太低,别的问题也都不太对,
我选的是api28,22,27,三个模板也都试过,但是都报错。报错贴上来了,求大佬帮忙看看,在此谢过了