Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio freezes on indexing

my project was working well but suddenly when I ran it on my phone, Android Studio freezes and I should stop it from task manager. before this happens I installed "Geny motion" & "Virtual Box", but when the error occurred I uninstalled them. but the problem insisted.

android studio freezes on indexing

Solutions I've tried

  1. I uninstalled it and installed it again
  2. I unplugged and plugged in my device
  3. I disabled android indexing from setting

None of the above solutions worked.

like image 589
Hadis Avatar asked Jul 28 '16 05:07

Hadis


1 Answers

I had today this exact problem. None of the above helped me until I found simple solution here Just run File -> Invalidate Cache and Restart That simple and it works!!!

like image 165
Meir Avatar answered Sep 27 '22 20:09

Meir