android编译时出现org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.错误

android studio中使用terminal工具。在android studio最下面的底部菜单栏中有(如果没有那cmd中进入项目根目录后):

使用命令  gradlew compileDebugSource --stacktrace -info

查看程序中出错的详细信息,进行修改后重新编译。

猜你喜欢

转载自www.cnblogs.com/xiangxinhouse/p/9332449.html
今日推荐