Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

my android studio wont sync

 
johnson dubula
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my android studio is giving me problems it is desplaying the massege bellow
Error:C:\Users\punchersjhb.HARAMBEE\.gradle\caches\2.8\scripts\asLocalRepo48_a0ri05ly0zpqlwrlngtyp5cy9\cp_init\cache.properties (The system cannot find the file specified)

i have tried updating it, and it says its updated, i have installed the SDK and NDK but its still gives me the above error, how do i solve this?
 
Brian Tkatch
Bartender
Posts: 568
25
Linux Notepad Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
johnson dubula wrote:my android studio is giving me problems it is desplaying the massege bellow
Error:C:\Users\punchersjhb.HARAMBEE\.gradle\caches\2.8\scripts\asLocalRepo48_a0ri05ly0zpqlwrlngtyp5cy9\cp_init\cache.properties (The system cannot find the file specified)

i have tried updating it, and it says its updated, i have installed the SDK and NDK but its still gives me the above error, how do i solve this?

It looks like a few people have experienced this error. cache.properties the system cannot find the file specified

Here's a couple answers:
what worked for me was going into whatever folder contains the cache.properties file. In that folder, the file was "cache.properties.lock" instead of "cache.properties", so I just got renamed the file and got rid of the ".lock" and it worked.

To fix this I went into C:\Users\username and I deleted the .gradle file and closed and reopened android studio and it recreated the .gradle file for me and also took care of the missing file error.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!