androidchipmunk

Android Studio Update Gradle Issue


I just upgraded Android Studio to Android Studio Chipmunk 2021.2.1 and afterwards my gradle sync attempts are failing and I cannot debug my app any longer???

Getting:

7:12 AM Gradle sync needed
Project was built with Android Gradle Plugin (AGP) 7.2.0 but it is synced with .
Please sync the project with Gradle Files.
Sync project

When I sync I get:

7:17 AM Gradle sync failed: Sync failed: reason unknown

I have: Cleaned project Deleted the .gradle folder then invalidated / restarted. Used AGP tool which said all was updated.

Anybody else having this issue with the upgrade?

Thank you


Solution

  • Deleting the .idea and cache folders solved mine then clean and rebuild project will generate new gradle