Error running android: Gradle project sync failed. Please fix your project and try again May 7, 2023 by Tarik Goto File -> Invalidate caches / Restart Shutdown Android Studio Rename/remove .gradle folder in the user home directory Restart Android Studio (It will download gradle metadata and data) Gradle build succeed Rebuild project. Done.