Android Studio will be infinitely updated & it does not stop

Viewed 1043

I'm having trouble with Android Studio. Sometimes I make changes to my code or add new src to my project I'm having a serious problem and I have not found any solution to this problem.

Android Studio will automatically and infinitely start updating the project and will not stop updating until I close the Android studio or restart.

I mean this update and indexing will not stop enter image description here

Any Solution ?

1 Answers

I found a solution for my problem.

After doing this problem solved I changed the gradle version :

        classpath 'com.android.tools.build:gradle:2.0.0'

To

        classpath 'com.android.tools.build:gradle:3.1.4'

And then I upgrade the version of compileSdkVersion to version 27 -> Invalidate cache / Restart

Related