Monday, December 2, 2013

Solving Android Studio will not be able to start Issue in Windows

I encountered the following error while using Google's Android Studio which is an IDE based on IntelliJ in both Windows 7 and 8.

Simplest Solution
If you are running in Windows 7/ 8/ Vista/ etc. then try running Android Studio as administrator (Right Click on Android Studio and select Run As Administrator). 

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

2- Now go back to previous folder. (C:\Program Files (x86)\Android)


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

4- Now in Properties window, go to Security Tab.

5- Click the Edit Button

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

7- Now, from the List below, Check "Allow" in front of "Full control"

8- Now press "OK", then again "OK"..

9- Its done.. Now you can use Android Studio easily instead of Running it As Administrator every time.

Source: StackOverFlow.com
http://stackoverflow.com/questions/16856650/android-studio-failed-to-open-by-giving-error-files-locked