简体   繁体   English

与目标 VM 断开连接,地址:'localhost:8613',传输:'socket' 用于 Android Studios 版本 2.2.2

[英]Disconnected from the target VM, address: 'localhost:8613', transport: 'socket' for Android Studios version 2.2.2

I have started using Android Studio versions 2.2.2 recently.我最近开始使用 Android Studio 版本 2.2.2。 But after I update my Android Studio to version 2.2.2, Im getting an error like this when i Debug the app:-但是在我将我的 Android Studio 更新到版本 2.2.2 后,我在调试应用程序时收到这样的错误:-

Connected to the target VM, address: 'localhost:8614', transport: 'socket'连接到目标VM,地址:'localhost:8614',传输:'socket'

Disconnected from the target VM, address: 'localhost:8614', transport: 'socket'与目标 VM 断开连接,地址:'localhost:8614',传输:'socket'

The AVD is getting launched, But this error is coming when I open the app after unlocking the screen. AVD 正在启动,但是当我在解锁屏幕后打开应用程序时出现此错误。 I have searched in Stackoverflow website for some fix.我在 Stackoverflow 网站上搜索了一些修复。 But none of them is working for me.但它们都不适合我。

I tried once by uninstalling and re-installing the studio.我通过卸载并重新安装工作室尝试过一次。 After that it was working fine for sometime.在那之后它工作了一段时间。 Now again I am facing this issue.现在我再次面临这个问题。 Can someone please help me on this.有人可以帮我解决这个问题。

Open the command prompt of window and just use the command given below打开 window 的命令提示符,只需使用下面给出的命令

adb kill-server adb 杀死服务器

adb strat-server adb 策略服务器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM