Gradle project refresh failed. Android Studio

Restarting Android Studio usually fixes this error for me.


You can restart android studio like this:

Click File ----> Invalidate Caches /Restart

enter image description here

It works for me!


Open Your Android Studio Terminal

Type command > gradlew clear press Enter and select option in

File > Invalidate Caches / Restart...

Then press Restart button. Now clear your app.gradle.

Thank you.