美文网首页
Debug:Cannot connect to VM Socke

Debug:Cannot connect to VM Socke

作者: 风快意中的冷静 | 来源:发表于2016-11-12 16:33 被阅读0次

Debug无法运行:
报错:Cannot connect to VM
Socket operation on nonsocket: configureBlocking

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: unable to create socket: winsock error 87
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]

QQ图片20161112160732.png

原因:Debug端口被占用,重新设置netsh winsock reset,重启计算机就解决了。

QQ图片20161112160740.png

相关文章

网友评论

      本文标题:Debug:Cannot connect to VM Socke

      本文链接:https://www.haomeiwen.com/subject/xfeqpttx.html