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
File > Invalidate Cache & Restart > Just Restart
)I faced this issue in Android Studio 3.+ when forcefully close Studio in between some gradle process.
Click on the play button to the right of the progress bar.
Invalidated the cache -> restarted Android Studio -> re-import the project from the project location. Its worked for me
I faced the same issue with Android Studio 3.2. Invalidated the cache and restarted Android Studio, but it still did not work for me. Then I just re-imported the project and it worked!
I faced this issue many times and what I did everytime is:
Firstly, click on the processing bar on the bottom of the android studio.
A pop up window will appear on the screen like this-
Click on the red circled Play button and let the process complete.
Please note that you will have to repeat this everytime you face this issue because this is some kind of bug or something in AS version 3.2
Optional: click on (-) minimize button if you want to the pop-up to minimize
xxx.iml
file, the .idea
and .gradle
folders