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

前端 未结 5 1456
Happy的楠姐
Happy的楠姐 2021-01-15 15:17

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         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-15 16:06

    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.

提交回复
热议问题