安卓:亚洲开发银行拒绝连接到客户端亚洲、连接到、开发银行、客户端

由网友(樱桃娃娃)分享简介:我试图从的IntelliJ我的关系5安装一个应用程序,并在第一次我碰到一个错误说I was trying to install an app on my nexus 5 from intellij and for the first time i get an error saying"DeviceMonitor:...

我试图从的IntelliJ我的关系5安装一个应用程序,并在第一次我碰到一个错误说

I was trying to install an app on my nexus 5 from intellij and for the first time i get an error saying

"DeviceMonitor: Adb rejected connection to client '5081': closed" 

我试图重新启动我的亚行重新启动计算机,禁用,启用Android的调试同步摇篮。 奇怪的是,当我尝试在虚拟设备上运行它它的工作原理。 任何人有一个想法? 下面是完整的错误code:

I tried restart my adb restart computer, disable, enable android debugging sync gradle. The weird thing is that when i try running it on a virtual device it works. Anyone has an idea? Here is the full error code :

设备监视器:亚洲开发银行拒绝连接到客户端的5081:封闭   设备监视器:亚洲开发银行拒绝连接到客户端的5064:封闭   设备监视器:亚洲开发银行拒绝连接到客户端的4962:封闭   设备监视器:亚洲开发银行拒绝连接到客户端的5081:封闭   设备监视器:亚洲开发银行拒绝连接到客户端的5064:封闭   设备监视器:亚洲开发银行拒绝连接到客户端的5064:封闭   设备监视器:亚洲开发银行拒绝连接到客户端的3483:封闭   设备监视器:亚洲开发银行拒绝连接到客户端的3483:关闭

DeviceMonitor: Adb rejected connection to client '5081': closed DeviceMonitor: Adb rejected connection to client '5064': closed DeviceMonitor: Adb rejected connection to client '4962': closed DeviceMonitor: Adb rejected connection to client '5081': closed DeviceMonitor: Adb rejected connection to client '5064': closed DeviceMonitor: Adb rejected connection to client '5064': closed DeviceMonitor: Adb rejected connection to client '3483': closed DeviceMonitor: Adb rejected connection to client '3483': closed

的logcat显示什么,我尝试在终端亚行logcat运行它,它表明无论是正常的。

logcat shows nothing, i tried running it in terminal "adb logcat" and it showed normal either.

推荐答案

我只是有这个问题为好。关闭并重新启动Android的工作室没有任何影响。

I just had this problem as well. Closing and re-launching Android Studio had no effect.

我的解决方案是执行以下命令在终端窗口:

The solution for me was to execute the following commands in a terminal window:

adb kill-server

adb start-server

在那之后,我的Andr​​oid设备连接正常。

After that, my Android device connected as normal.

阅读全文

相关推荐

最新文章