isuru isuru - 3 months ago 78
Java Question

Android Studio can't open (port.lock access denied)

When I open the Android Studio it gives the following error: C:\Users\HP\.AndroidStudio2.2\config\port.lock (Access is denied)

The javac path is correct
and the file has anyone can access (port.lock)

This is the full error message which I was getting: C:\Users\HP\.AndroidStudio2.2\config\port.lock (Access is denied)
at Method)
at com.intellij.idea.SocketLock.underLocks(
at com.intellij.idea.SocketLock.lock(
at com.intellij.idea.StartupUtil.lockSystemFolders(
at com.intellij.idea.StartupUtil.prepareAndStart(
at com.intellij.idea.MainImpl.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.intellij.ide.plugins.PluginManager$


In my case i have to apply tick to hidden icons in also sub folders of C:\Users\HP and again apply tick to show hidden icons.Now works fine