• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

my android studio wont sync

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 598
26
Oracle Notepad Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

reply
    Bookmark Topic Watch Topic
  • New Topic