Reputation: 2261
Whenever I try to run android application, I receive an error message.
Error:C:\Users\zeshan\.gradle\caches\2.14.1\scripts-remapped\build_6xj57zedh3l90p9pnawvv74i8\8ehwj2mcm8zvm71zyxubaaene\cp_proj57408229\cache.properties (The system cannot find the file specified)
Upvotes: 3
Views: 10777
Reputation: 3963
Navigate to C:\Users\user_name.gradle\caches\2.14.1 or (2.8 if error in it otherwise)
Copy the folder "2.14.1" or "2.8" and paste it somewhere safe just in case anything went wrong you will place it back
Delete this error folder from the directory C:\Users\user.gradle\caches\2.4\ (or \2.8)
Close the Android studio & restart it.
Upvotes: 4
Reputation: 31
I have the same problem. Just remove .gradle folder, reopen project and rebuild. It helped me.
Upvotes: 3