Reputation: 2879
I want to know how to show compilation errors in Android Studio. I tried the following one:
Android Studio: Where is the Compiler Error Output Window?
But it is showing another error:
javac: invalid target release: 1.8
Anybody who knows the actual solution please reply.
Upvotes: 24
Views: 65994
Reputation: 802
Next / Previous highlighted error: F2
/Shift + F2
Show descriptions of error at caret: Ctrl+F1
Upvotes: 0
Reputation: 4431
In the toolbar, go to Analyze -> Inspect Code
After That, you will have the Inspection Results
window with the detailed errors and warnings. see image:
Upvotes: 4
Reputation: 511846
In addition to what the other answers say, you can find errors by pressing F2 or Shift+F2. This is useful when you can't see the where the red indicator is on the side bar.
Upvotes: 11
Reputation: 9816
There is a 'Problems' view in the project window:
Just click on the drop down (Android setting is default) and select 'Problems'. Not comparable to eclipse problems view tough...
Upvotes: 26
Reputation: 5165
I was looking for the "Problems" view that you can see in Eclipse when building projects. For that, you can go to Analyze -> Inspect Code
Where is the warnings view in Android Studio?
and then I clicked on "Group by Severity" so that I could see the warnings and errors.
Upvotes: 5
Reputation: 9258
There's "Messages" tab in Android Studio. Complilation errors and warning go there. You can select it by pressing alt+0 (⌘+0 in OS X - a shortcut to View|Tool Windows|Messages).
Upvotes: 5