Task:app:compileDebugJavaWithJavac FAILED
在compileSdkVersion 32的情况下,项目默认使用的是jdk 8,调整到jdk 11后问题解决。最后终于找到原因,是编译版本的问题。
·
错误日志
Error:Execution failed for task ‘:app:compileDebugJavaWithJavac’.
Compilation failed; see the compiler error output for details.
最后终于找到原因,是编译版本的问题
环境信息:
com.android.tools.build:gradle:3.4.3
gradle:6.7.1
在compileSdkVersion 32的情况下,项目默认使用的是jdk 8,调整到jdk 11后问题解决
更多推荐
已为社区贡献6条内容
所有评论(0)