Android:Adb拒绝与客户端的连接

前端之家收集整理的这篇文章主要介绍了Android:Adb拒绝与客户端的连接前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图在intellij上安装我的nexus 5上的一个应用程序,第一次我收到一个错误的说法
"DeviceMonitor: Adb rejected connection to client '5081': closed"

我尝试重新启动我的adb重新启动计算机,禁用,启用Android调试同步毕业.
奇怪的是,当我尝试在虚拟设备上运行它时,它是有效的.
任何人都有想法?
以下是完整的错误代码

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什么都不显示,我尝试在终端“adb logcat”中运行它,它也显示正常.

解决方法

我也有这个问题.关闭并重新启动Android Studio没有任何效果.

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

adb kill-server

adb start-server

之后,我的Android设备正常连接.

原文链接:https://www.f2er.com/android/311541.html

猜你在找的Android相关文章