Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.0 Go to File feature does not work

I used to jump to a file using the combination shift + command + o until Android Studio gets upgraded to 3.0. Now the combination does not work, for instance it even can not find string.xml. I know that I might use double shift instead of it but it also can not find the string.xml file. I need to go to the file manually.

you can track the issue via this link https://issuetracker.google.com/issues/68742341

UPDATE: I think there is some problem with the ide for sure but they said that it did not reproduce. However I did what @LazyOne said and it worked.

like image 595
Mustafa Güven Avatar asked Nov 01 '17 07:11

Mustafa Güven


People also ask

How to open Preferences in Android Studio?

From the menu bar, click File > Settings (on macOS, click Android Studio > Preferences).

Where is the file in Android Studio?

Find Files Go to Navigate Menu->File or Ctrl + Shift + N .


1 Answers

The fact that search for files / Navigate to suddenly stopped working suggests that indexes/caches that IDE uses might be somehow outdated/corrupted.

In such case using File | Invalidate Caches... and restarting IDE should help. IDE will mark all caches/indexes as "outdated" and will re-index the project on next launch. P.S. The same can be achieved by manually deleting indexes/caches folders while IDE is closed.

Please note that Local History will also be dropped (in case you are using this functionality) as in current implementation it's tightly linked to the same subsystem.

like image 193
LazyOne Avatar answered Sep 27 '22 19:09

LazyOne