Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio not showing any errors?

I don't know what happened
but when i copy paste a code or write something
No Errors were shown

See the picture below in which i copied a code but no imports yet
But Android studio doesn't show any error. Even when i Ctr + Alt + O It doesn't imports anything

enter image description here

Is their any setting to get it back or anything else?

I already tried updating all available updates

like image 471
Archit Jain Avatar asked Dec 19 '14 11:12

Archit Jain


People also ask

Why Android Studio is not showing errors?

Go to the File option > click on “INVALIDATE CACHES/RESTART” then a dialog box will pop up, Select the “INVALIDATE CACHES/RESTART” button. This will automatically restart and build the index of android studio.

Where is the messages view Android studio?

Go to the Build and then on the left side of the window you will find your Messages icon.


1 Answers

Sounds like you may be in power save mode. Check it on the File menu, just above Exit. While in power save, code inspection is disabled.

To get code inspection running again, you can either: 1) exit power saver mode, or 2) run inspection manually with Inspect Code... on the Analyze menu.

like image 101
Paul Ratazzi Avatar answered Oct 03 '22 19:10

Paul Ratazzi