Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Indexing freeze with message: Indexing paused due to batch updated

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

"Indexing paused due to batch update".

How can I fix this?

File gradle-wrapper.properties:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

File gradle-properties:

org.gradle.jvmargs=-Xmx1536m
org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.configureondemand=true
like image 381
Axbor Axrorov Avatar asked Sep 26 '18 08:09

Axbor Axrorov


3 Answers

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!

like image 151
Muhamed Riyas M Avatar answered Nov 10 '22 23:11

Muhamed Riyas M


Just Restart (File > Invalidate Cache & Restart > Just Restart)

I faced this issue in Android Studio 3.+ when forcefully close Studio in between some gradle process.

like image 39
Khemraj Sharma Avatar answered Nov 10 '22 22:11

Khemraj Sharma


Pressing the play button worked for me. It finished indexing and installed the apk in seconds. The catch is that I have to do this every time and batch does not seem to update.

like image 34
Polycarp Kavoo Avatar answered Nov 11 '22 00:11

Polycarp Kavoo