0

N.B. There are several similar questions to this (e.g., link) about earlier or alpha versions of Android Studio - my question pertains to the current version 2.1.1, and the earlier answers either don't seem to apply or are incomplete WRT my version.

I just installed the latest version of Android Studio on my PC (Win 7) and I'm learning how to use it. One thing all the other IDE's I've used (e.g., Visual Studio, Eclipse, etc) have is a window that lists the compiler errors and warnings and you can click on the items and it takes you to them in the source editor.

When I do a Project Build I get a message saying "Gradle Build finished with 3 warnings in 4s 753ms". But I don't know how to see the warnings.

How/where do I do this in Android Studio?

Community
  • 1
  • 1
user316117
  • 7,971
  • 20
  • 83
  • 158

1 Answers1

-1

The Gradle Console shows you the results of your last Gradle task, which includes builds. If there are specific problems, they should show up there and in the Messages view. These views are docked by default on the bottom of your Android Studio window.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • Yes, but that's just text output and warnings and errors are embedded in lots of other Gradle messages and there doesn't seem to be any way to click on them and be taken to the source code in an editor. Other IDE's have a pane/panel just for errors/warnings and that link directly to the source. Android Studio is a modern IDE so I assume it has the same thing but I don't know where it is. – user316117 May 19 '16 at 15:17
  • @user316117: "there doesn't seem to be any way to click on them and be taken to the source code in an editor" -- for warnings, I believe that you may be correct. "so I assume it has the same thing" -- you are welcome to believe whatever you wish. Android Studio focuses on putting warnings and errors in the editors themselves, via markup (yellow and red undersquiggles). – CommonsWare May 19 '16 at 15:24