Indexing freeze with message: Indexing paused due to batch updated

后端 未结 23 943
独厮守ぢ
独厮守ぢ 2020-12-12 15:43

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

相关标签:
23条回答
  • 2020-12-12 16:06

    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.

    0 讨论(0)
  • 2020-12-12 16:08

    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.

    0 讨论(0)
  • 2020-12-12 16:09

    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

    0 讨论(0)
  • 2020-12-12 16:11

    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

    0 讨论(0)
  • 2020-12-12 16:11

    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:

    1. Click on play icon under the processing bar (on the bottom of the android studio). But be aware that multiple clicks may also kill the the indexing process.
    2. Invalidate cache (File -> Invalidate Cache & Restart -> Just Restart)
    3. Clean ((Build -> Clean project) and Rebuild (Build -> Rebuild Project)
    4. Sync Project with Gradle Files: Available options (depending on the Android Studio version) at
      • Tools -> Android -> Sync Project with Gradle Files
      • button available at top left corner in Android Studio's toolbar
      • File -> Sync Project with Gradle Files
    5. Delete the .idea & .gradle folders and .idea & .iml files from the project root directory and re-import the project

    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.

    0 讨论(0)
提交回复
热议问题