android studio 无法连接到调试设备 [英] android studio can't connect to debug devices

查看:109
本文介绍了android studio 无法连接到调试设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android Studio 无法连接到调试设备.

Android Studio can't connect to debug devices.

当我点击调试按钮时,调试选项卡显示我

When I click the debug button, the debug tab shows me

Connecting to the target VM, address: 'localhost:8600', transport: 'socket'

在变量中

当我再次尝试时它告诉我

When I tried again it told me

12:14:44 Error running Android Debugger (8600): Unable to open debugger port : java.io.IOException "handshake failed - connection prematurely closed"

然后调试选项卡给我看这个

and then debug tab show me this

 Disconnected from the target VM, address: 'localhost:8600', transport: 'socket'

在变量中

我的 Android Studio 版本是 0.4.4 #AI133-1005886

My Android Studio version is 0.4.4 #AI133-1005886

这个问题困扰我很久了.

This problem has been haunting me for a long time.

我使用的是 OS X

i use OS X

推荐答案

在android studio中:工具->android->启用 adb 集成(这应该被选中)取消选中这个,然后再次检查.这解决了我这个问题.(它重新启动 adb 集成)

in android studio: tools->android->enable adb integration(this should be checked) uncheck this, then check again. this solved me this problem. (it restarts the adb integration)

这篇关于android studio 无法连接到调试设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆