Android Studio不会以OverlappingFileLockException开头

时间:2019-09-19 10:23:45

标签: android-studio

在Mac上安装Android Studio后,它不会出现以下异常:

Cannot Lock System Folders: Internal error. Please report to https://code.google.com/p/android/issues

java.nio.channels.OverlappingFileLockException
    at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
    at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
    at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1068)
    at java.nio.channels.FileChannel.lock(FileChannel.java:1053)
    at com.intellij.idea.SocketLock.underLocks(SocketLock.java:174)
    at com.intellij.idea.SocketLock.lock(SocketLock.java:121)
    at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:319)
    at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:143)
    at com.intellij.idea.MainImpl.start(MainImpl.java:20)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.ide.plugins.PluginManager.lambda$start$0(PluginManager.java:76)
    at java.lang.Thread.run(Thread.java:748)

有什么想法可以解决问题吗?

0 个答案:

没有答案