Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio is not starting (cannot lock the system folder)

Tags:

android

enter image description here

android studio is not starting after installation and giving this error

like image 714
Arsalan Avatar asked May 21 '16 07:05

Arsalan


2 Answers

Try this ,

1) open cmd with Run as administrator

2) type: netsh winsock reset

3) restart computer

After restart open Android Studio and check for errors if no errors all fine!

else try the following:

  1. Set the environment variables for JAVA_HOME
  2. Disabled UAC ( User access Controls in windows)
  3. Updated to the latest Java Version
  4. Reinstalled Android Studio
  5. Update windows if you are on it.
like image 82
Bestin John Avatar answered Oct 12 '22 01:10

Bestin John


  1. Go to folder where android-studio is installed. (e.g. C:\Program Files (x86)\Android\android-studio)

  2. Now go up one folder. (i.e. C:\Program Files (x86)\Android)

  3. Right click on the android-studio folder and go to Properties.

  4. In the Properties window, go to the Security tab.

  5. Click the Edit button.

  6. A new window will open, here you click the Users (your-username-or-your-group-name)

  7. From the list below, check Allow in front of Full control.

  8. Press OK, then again OK.

Now you can use Android Studio easily instead of "Running it As Administrator" every time.

Original Answer :Here

like image 25
SaiKiran Avatar answered Oct 12 '22 00:10

SaiKiran