javaandroidandroid-studioutility

Find usage of id not working in Android Studio on Windows


I selected an id in XML, mouse right click, find Usage shows no occurrence of id even Id exist in java file. And if i do the same in Mac its finding it.

So is there any cache issue or something else ?


Solution

  • To fix the autocomplete go to:

    File -> Invalidate Caches -> Restart -> Click at Invalidate and Restart