美文网首页
69.GradleScopeCompileServices.cr

69.GradleScopeCompileServices.cr

作者: TensorFlow开发者 | 来源:发表于2022-08-08 11:31 被阅读0次

场景

某天早上打开电脑,开始工作时,Android 项目编译报错:

GradleScopeCompileServices.createGeneralCompileCaches()

What went wrong:

Execution failed for task ':libcocos2dx:compileReleaseJavaWithJavac'.

> Could not create service of type DefaultGeneralCompileCaches using GradleScopeCompileServices.createGeneralCompileCaches().

解决方案

终端进入项目的根目录,然后输入命令

./gradlew compileDebugJavaWithJavac --stacktrace

虽然没有改动什么,但在命令行执行这个命令后,在运行就不报错了

相关文章

  • 69.GradleScopeCompileServices.cr

    场景 某天早上打开电脑,开始工作时,Android 项目编译报错: 解决方案 终端进入项目的根目录,然后输入命令 ...

网友评论

      本文标题:69.GradleScopeCompileServices.cr

      本文链接:https://www.haomeiwen.com/subject/yhjwwrtx.html