安卓开发初学者笔记
Android Studio 开发 编译错误一
在知乎上看到一位前辈讲了一种as 开发bebug的一种方法,所以记录下来,方便自己记忆,供大家交流使用。
#Compilation failed; see the compiler error output for details.
android studio有时候出出现
Error:Execution failed for task ‘:app:compileFala_habibiDebugJavaWithJavac’.
> Compilation failed; see the compiler error output for details.
可以在terminal输入命令查看具体的错误
在terminal端口输入
gradlew compileDebug --stacktrace -info 查错误详情
或
gradlew compileDebug --stacktrace -debug
再
gradlew compileDebugSources --stacktrace -info