- 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.
原文地址:https://www.cnblogs.com/Oldz/p/9839547.html
时间: 2024-10-11 03:15:55