Error in Android Studio cache.properties
Solution 1
I've already tried simply to delete gradle folder. then restarted Android Studio and the problem solved
Solution 2
Look for a cache.properties.lock file, delete it and rebuild project
Solution 3
cache.properties (The system cannot find the file specified)
To fix this problem go to :
C:\Users\[Usuario]\.gradle\caches\
Delete folders \2.4
and \2.8
Restart Android Studio
y Sync project with Gradle Files!.
Solution 4
There is probably something wrong with your cached dependencies:
Try to rebuild your project:
gradle clean build --refresh-dependencies
Solution 5
There is very easy solution for this problem just goto File in the menu bar and say Invalidate Cache and Restart it will be all right..
I hope this might solve your problem because it worked for me.
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on June 04, 2022Comments
-
Admin about 2 years
Error:java.io.FileNotFoundException: C:\Users\Petrusic\AndroidStudioProjects\askramarnovi.gradle\2.2.1\taskArtifacts\cache.properties (The system cannot find the file specified)
C:\Users\Petrusic\AndroidStudioProjects\askramarnovi.gradle\2.2.1\taskArtifacts\cache.properties (The system cannot find the file specified)