I recently updated Android Studio from Chipmunk version – 2021.2.1 to Koala version – 2024.1.1.
Now, when I open my projects, the gradle synchronization starts and always ends with:
C:Users[MY_USER].gradlecaches8.7groovy-dsl8a1452873841172f5abf6c65b3637f25metadata.bin (The specified file could not be found).
I found a solution here (Android – Error while creating a jetpack compose project on Android Studio), deleting the C:Users[MY_USER].gradlecaches folder, but I have to do it every day for any project.
I also tried completely uninstalling Android Studio and reinstalling it, but nothing changed.
Does anyone have a more permanent solution in mind?
2
Answers
Thanks for the reply, but I'm the only one guilty...
Sometimes I use a program to clean the PC and in the settings there is also "Android studio - cache".
But I'm sure that with the previous version of Android Studio it didn't happen.
Сhanging the gradle version in gradle-wrapper.properties may help