Android Studio 3.1不显示构建错误详细信息 [英] Android Studio 3.1 not showing build error details

查看:509
本文介绍了Android Studio 3.1不显示构建错误详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已更新到Android Studio 3.1,并且在编译时未显示错误的详细信息。
假设如果我在某个地方错过了分号,或者我没有实现接口方法,那么它始终会提示我该错误,但不会告诉我该错误发生的原因或原因!
所有错误详细信息均在Studio 3.0中完美显示。我如何在3.1中看到它们?

I have updated to Android Studio 3.1 and it doesn't show the details of error during compile time. Suppose if I miss a semicolon somewhere or I haven't implemented a method of an interface, then it gives me this error all the time, but doesn't tell me what or where the error occurred! All error details were perfectly shown in Studio 3.0. How do I see them in 3.1?

这是每次发生错误时都会得到的消息。

This is the message that I get every time an error occurs.

Compilation error. See log for more details


推荐答案

只有一个切换按钮在构建按钮下方,该按钮将显示详细的构建日志。轻按该按钮,您应该能够看到AS 3.1之前的错误。

There is a toggle button just below the build button that will show the verbose build logs. Tap that and you should be able to see errors like before AS 3.1.

这篇关于Android Studio 3.1不显示构建错误详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆