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

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.

  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

Tags:

Android