When I open the Android Studio it gives the following error:
java.io.FileNotFoundException: C:\\Users\\HP\\.AndroidStudio2.2\\config\\port.lock (Access is de
In my case, Java was installed under a different admin account on the default path, while I was trying to use Java under my admin account. After a new installation of Java under my own admin account, the problem got solved.
Java