Android studio 打开失败(cannot lock system folders)

android studio 2.0打开的时候提示:Cannot lock System Folders
Internal Error. Please report to https://https://code.google.com/p/android/issues

java.lang.IllegalStateException: failed to create a child event loop
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:81)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:48)
at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:57)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:67)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:54)
at org.jetbrains.io.BuiltInServer.start(BuiltInServer.java:79)
at com.intellij.idea.SocketLock$2.call(SocketLock.java:133)
at com.intellij.idea.SocketLock$2.call(SocketLock.java:113)
at com.intellij.idea.SocketLock.underLocks(SocketLock.java:157)
at com.intellij.idea.SocketLock.lock(SocketLock.java:113)
at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:263)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:101)
at com.intellij.idea.MainImpl.start(MainImpl.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:91)
at java.lang.Thread.run(Thread.java:744)
Caused by: io.netty.channel.ChannelException: failed to open a new selector
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:127)
at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:119)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:97)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:31)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:77)
... 18 more
Caused by: java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:125)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:141)
at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
at java.nio.channels.Pipe.open(Pipe.java:150)
at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:127)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:125)
... 22 more
Caused by: java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.serverSocket(Net.java:427)
at sun.nio.ch.ServerSocketChannelImpl.<init>(ServerSocketChannelImpl.java:88)
at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:56)
at java.nio.channels.ServerSocketChannel.open(ServerSocketChannel.java:105)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:90)
... 30 more

有哪位大大遇到过这个问题吗,求指点
2016-04-24 10:59 添加评论 分享
已邀请:

最佳回复

2

prefer - 伪程序员

赞同来自: ask 水手辛巴

已解决。

cmd 运行 netsh winsock reset 。
0

zc98765zc - 菜鸟的菜鸟

赞同来自:

请问你是怎么解决的,我试了那哥们的还是不行啊。

要回复问题请先登录注册

退出全屏模式 全屏模式 回复