Android Studio“等待调试器"

问题描述:

我已经创建了简单的世界,你好!"使用android studio的项目.当我在设备或仿真器上运行它时-一切都很好.然后,我尝试以调试模式运行它-并在屏幕和

I've created simple "Hello, world!" project using android studio. When I run it on the device or emulator - everything is fine. Then I make attempt to run it in the debug mode - and it fails after a few minutes "waiting for debugger" dialog on the screen and

`Error running test-test: Unable to open debugger port : java.io.IOException`

事件日志中的消息.

我该如何解决这个问题?

How can I solve this problem?

迈克尔·尤努索夫(Michael Yunusov)这个问题是同时在不同的机器上出现的.

Michael Yunusov this problem was on different machines the same time.

解决方案::我有两个IDE同时运行:Android studio和蚀.关闭其中一个即可解决此问题.

Solution: I had two IDEs running the same time: Android studio and Eclipse. Closing one of them fixed the issue.

尝试重置您的ADB.

要重置ADB服务器,请执行以下操作:打开运行-> Cmd-> adb kill-server

To reset the ADB server: Open Run-> Cmd-> adb kill-server

要重新启动,可以使用:打开运行-> Cmd-> adb设备

To start it again you can use: Open Run-> Cmd-> adb devices