gradlew compileDebug --stacktrace -info
Into the root directory entry in the command line, or may operate directly in the Terminal Android studio may then typing a command:
gradlew compileDebug --stacktrace -info
或者:
gradlew compileDebug --stacktrace -debug
I direct this command, the error message is displayed in the most detailed, I suggest you use this directly,
gradlew compileDebugSources --stacktrace -info