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


when open android studio gives following error:

java.io.filenotfoundexception: c:\users\hp\.androidstudio2.2\config\port.lock (access denied) 

the javac path correct , file has can access (port.lock)

this full error message getting:

java.io.filenotfoundexception: c:\users\hp\.androidstudio2.2\config\port.lock (access denied)     @ java.io.fileoutputstream.open0(native method)     @ java.io.fileoutputstream.open(fileoutputstream.java:270)     @ java.io.fileoutputstream.<init>(fileoutputstream.java:213)     @ com.intellij.idea.socketlock.underlocks(socketlock.java:186)     @ com.intellij.idea.socketlock.lock(socketlock.java:128)     @ com.intellij.idea.startuputil.locksystemfolders(startuputil.java:318)     @ com.intellij.idea.startuputil.prepareandstart(startuputil.java:140)     @ com.intellij.idea.mainimpl.start(mainimpl.java:34)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:498)     @ com.intellij.ide.plugins.pluginmanager$2.run(pluginmanager.java:93)     @ java.lang.thread.run(thread.java:745) 

in case have apply tick hidden icons in sub folders of c:\users\hp , again apply tick show hidden icons.now works fine


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -