如何在Android Studio上显示编译错误的详细信息? [英] How to show the compile error's details on Android Studio?
本文介绍了如何在Android Studio上显示编译错误的详细信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚从同一个开发人员处获取了代码,并收到以下错误:
I just pulled the code from a fellow developer and get the following error :
我记得Android Studio在问题类型上曾经更加冗长,但是最新版本却给了我这个一般性错误.
I remember Android studio used to be more verbose about the type of problem, but the latest version just give me that generic error.
如何获取有关此编译错误的更多详细信息?
How can I get more details about this compiling error ?
推荐答案
在Android Studio终端中键入以下命令
Type below command in the terminal of Android Studio
./gradlew build --stacktrace
检查堆栈跟踪,您会发现错误
Check stack trace you will find the error
这篇关于如何在Android Studio上显示编译错误的详细信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文