I'm currently working on an app for my business and Android Studio is preventing me from completing the simplest task, building the app.

Even making a brand new project and building it as the template still gives me the same error that's below.

Timeout waiting to lock file content cache (G:\My Drive\TEI\app2\.gradle\4.6\fileContent). It is currently in use by another Gradle instance.

Owner PID: unknown

Our PID: 7396

Owner Operation: unknown

Our operation: 
Lock file: G:\My Drive\TEI\app2\.gradle\4.6\fileContent\fileContent.lock

I've even uninstalled and reinstalled Android Studio, restarted my computer and deleted the .gradle folder so a brand new one had to be made

Does anyone know why it keeps doing this?

Edit: I don't have any other gradle instances using the file, as far as I'm aware

  • Is it write protected for any reason? – var firstName Jan 11 at 21:10
  • I don’t think so, how would I check that? – Dillon Jan 12 at 1:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.