I\'ve updated Android Studio to version 3.2.
After that update one of my projects don\'t want to index.
It freezes with the message
I faced the same Issue but the situation which lead to this was different: I created a remote branch on the project's repository on GitHub and it was empty. And then I checkout to that branch locally while android studio was running.
I then deleted the local repository and created it again but this time it was not empty. Further I pushed the code to the remote branch as well.Now I thought that it will start the project normally but again the same happened.it resulted in an IDE error.
To solves this issue I deleted that local repository and again re-imported it.Than it started correctly.
Press the play button to the right of this message and the issue would resolve.
You have to do it every time, because right now the problem is systematic and there is no solution to stop it from appearing.
I faced the same issue, it seems that Android Studio messes up the cache.
Go to File > Invalidate Caches and Restart
Then on the Pop Up that appears choose Invalidate and Restart
I had the same issue and I fixed by do the following: Click File --> click on Invalidate Caches / Restart You will see a pop up--> select Invalidate and Restart
This issue coccus randomly in Android Studio V3.+ [Issue tracker:https://issuetracker.google.com/issues/118523471] .
There might be multiple reasons for this issue but it is mainly either ".gradle" related or ".iml" file related IntelliJ/Android Studio configurations.
Possible solutions:
I have faced this issue quite a few times and got rid of then by using one or more of above solutions. But in some scenario nothing of the above solutions may work (as recently I get trapped-in). In this case I have to recreate the same project from scratch and copied back the required files into it. But ideally this should not be the solution. Please let me know if any other possible solution is there.