gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 18:09:39 26 4
gpt4 key购买 nike

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

java.lang.IllegalStateException: failed to create a child event loop at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:81) at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:48) at io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:57) at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:67) at io.netty.channel.nio.NioEventLoopGroup.(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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:91) at java.lang.Thread.run(Thread.java:745) 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.(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 more Caused by: java.io.IOException: Unable to establish loopback connection 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) at sun.nio.ch.PipeImpl.(PipeImpl.java:170) at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at 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) at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:125) ... 22 more Caused by: java.net.ConnectException: Connection timed out: connect at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net.connect(Net.java:454) at sun.nio.ch.Net.connect(Net.java:446) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)

最佳答案

我发现添加

-Djava.net.preferIPv4Stack=true
.vmoptions文件(在主目录中)为我解决了这个问题。

关于Android Studio 未启动,未能创建子事件循环,无法锁定系统文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36945568/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com