unknown
unknown

Reputation: 522

Android Studio fails to start with error "Cannot Lock System Folders" on macOS

So what happens is that every time I open Android Studio, this happens:

enter image description here

I used Android Studio successfully before.

I've searched everywhere for the solution to the problem, but all the answers I got are only relevant to Windows and not for macOS.

I've tried reinstalling Android Studio but that does not seem to help. Does not seem to be an antivirus issue either cause disabling has no difference. Tried looking for permissions issue but I can't find the equivalent one in macOS.

Any help would be gladly appreciated.

Upvotes: 1

Views: 774

Answers (2)

Prashant Sengar
Prashant Sengar

Reputation: 636

For me, it worked on Windows by going to C:\Users\"Your username" and finding the .android and .AndroidStudio folders. Open properties of both the folders and uncheck the hidden and Read-only properties. Hope it works.

Upvotes: 0

Xaren
Xaren

Reputation: 511

For me it work to reset all network configuration on Mac. My system is High Sierra. On terminal type cd /Library/Preferences and then type sudo rm -r SystemConfiguration.

All the SystemConfiguration files will go away but one (just type n or y). Restart. All the files will be regenerated on restart.

All your network configuration will go away, but is better to setup that again than a not working Android Studio

Upvotes: 1

Related Questions