错误:Disconnected from the target VM, address: ‘127.0.0.1:17541‘, transport: ‘socket‘

错误:Disconnected from the target VM, address: ‘127.0.0.1:17541’, transport: ‘socket’

错误:Disconnected from the target VM, address: ‘127.0.0.1:17541‘, transport: ‘socket‘
网上查找原因总结:

  • maven版本问题
  • 端口冲突问题
  • web 依赖没导入
  • JDK没有配置好

以上可以自己搜索博客解决

我的问题解决方案:关闭Enable JMX agent

错误:Disconnected from the target VM, address: ‘127.0.0.1:17541‘, transport: ‘socket‘

错误:Disconnected from the target VM, address: ‘127.0.0.1:17541‘, transport: ‘socket‘
关闭enable JMX agent即可

上一篇:[WDS] Disconnected! 报错解决方案


下一篇:adb 常用命令大全(5)- 日志相关