Android Studio无法启动,无法创建子事件循环,无法锁定系统文件夹

时间:2016-04-29 18:53:01

标签: android android-studio

Android Studio无法启动,无法创建子事件循环,无法锁定系统文件夹

  

java.lang.IllegalStateException:无法创建子事件循环           at io.netty.util.concurrent.MultithreadEventExecutorGroup。(MultithreadEventExecutorGroup.java:81)           在io.netty.util.concurrent.MultithreadEventExecutorGroup。(MultithreadEventExecutorGroup.java:48)           在io.netty.channel.MultithreadEventLoopGroup。(MultithreadEventLoopGroup.java:57)           在io.netty.channel.nio.NioEventLoopGroup。(NioEventLoopGroup.java:67)           在io.netty.channel.nio.NioEventLoopGroup。(NioEventLoopGroup.java:54)           在org.jetbrains.io.BuiltInServer.start(BuiltInServer.java:79)           在com.intellij.idea.SocketLock $ 2.call(SocketLock.java:133)           在com.intellij.idea.SocketLock $ 2.call(SocketLock.java:113)           在com.intellij.idea.SocketLock.underLocks(SocketLock.java:157)           在com.intellij.idea.SocketLock.lock(SocketLock.java:113)           在com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:263)           在com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:101)           在com.intellij.idea.MainImpl.start(MainImpl.java:34)           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)           在com.intellij.ide.plugins.PluginManager $ 2.run(PluginManager.java:91)           在java.lang.Thread.run(Thread.java:745)       引起:io.netty.channel.ChannelException:无法打开新的选择器           在io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:127)           在io.netty.channel.nio.NioEventLoop。(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。(MultithreadEventExecutorGroup.java:77)           ......还有18个       引起:java.io.IOException:无法建立环回连接           at sun.nio.ch.PipeImpl $ Initializer.run(PipeImpl.java:101)           at sun.nio.ch.PipeImpl $ Initializer.run(PipeImpl.java:68)           at java.security.AccessController.doPrivileged(Native Method)           在sun.nio.ch.PipeImpl。(PipeImpl.java:170)           at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)           在java.nio.channels.Pipe.open(Pipe.java:155)           at sun.nio.ch.WindowsSelectorImpl。(WindowsSelectorImpl.java:127)           at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)           在io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:125)           ......还有22个       引起:java.net.ConnectException:连接超时:连接           在sun.nio.ch.Net.connect0(本机方法)           at sun.nio.ch.Net.connect(Net.java:454)           at sun.nio.ch.Net.connect(Net.java:446)           在sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)

1 个答案:

答案 0 :(得分:0)

最佳和简单的解决方案:

  1. 卸载Android Studio
  2. 重新启动计算机后再次安装。
  3. 我遇到了同样的问题并且解决了。