博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android adb常见问题整理
阅读量:6677 次
发布时间:2019-06-25

本文共 2275 字,大约阅读时间需要 7 分钟。

hot3.png

问题1

[java] view plaincopyprint?

The connection to adb is down, and a severe error has occured.

You must restart adb and Eclipse.

Please ensure that adb is correctly located at 'adb.exe' and can be executed.

解决1:

[plain] view plaincopyprint?

adb kill-server

adb start-server

问题2

[java] view plaincopyprint?

ADB server didn't ACK

* failed to start daemon *

解决2:

DDMS - Devices - Reset adb

如果不行,关闭豌豆荚或者Eclipse重启

问题3

[plain] view plaincopyprint?

Adb failed to restart! Make sure the plugin is properly configured

解决3:

杀死 Wandoujia 相关的所有进程,ok

wandoujia_daemon.exe

wandoujia_helper.exe

问题4

[plain] view plaincopyprint?

** Adb connection Error:远程主机强迫关闭了一个现有的连接

解决1,2,3 都尝试下

问题5

[plain] view plaincopyprint?

java.io.IOException: 您的主机中的软件中止了一个已建立的连接。

at sun.nio.ch.SocketDispatcher.write0(Native Method)

at sun.nio.ch.SocketDispatcher.write(Unknown Source)

at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)

at sun.nio.ch.IOUtil.write(Unknown Source)

at sun.nio.ch.SocketChannelImpl.write(Unknown Source)

at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)

at com.android.ddmlib.Client.sendAndConsume(Client.java:575)

at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)

at com.android.ddmlib.Client.requestAllocationStatus(Client.java:421)

at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:854)

at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:822)

at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:781)

at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:649)

at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:42)

at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:577)

通常是同时打开了两个eclipse,关闭一个即可

问题6

[java] view plaincopyprint?

Failed to install .apk on device '': Unable to open sync connection!

java.io.IOException: Unable to open sync connection!

Launch canceled!

问题7

[java] view plaincopyprint?

ADB rejected shell command (rm /data/local/tmp/AnzhiGame1.1.apk): closed

Error during Sync: Unable to open sync connection!

Error during Sync: Unable to open sync connection!

Adb connection Error:远程主机强迫关闭了一个现有的连接。

Connection attempts: 1

Connection attempts: 2

Connection attempts: 3

转载于:https://my.oschina.net/u/1182603/blog/155233

你可能感兴趣的文章
[转]无需看到你的脸就能认出你——实现Beyond Frontal Faces: Improving Person Recognition Using Multiple Cues...
查看>>
函数Curry化
查看>>
二进制补码,原码,反码和移码
查看>>
Default Constructor 的建构操作
查看>>
函数中的不定长参数研究 *and**
查看>>
hive如何执行mr
查看>>
测试及等等
查看>>
通过Python来操作kylin
查看>>
模板 数据结构
查看>>
【Search a 2D Matrix】cpp
查看>>
POJ 1741 Tree(树的点分治,入门题)
查看>>
Opencv3.1.0 & Win10/Win7 64位 contrib编译
查看>>
黄聪:FFmpeg 使用指南
查看>>
C#:CodeSmith根据数据库中的表创建C#数据模型Model + 因为没有钱买正版,所以附加自己写的小代码...
查看>>
乐视4.14硬件免费日de用户体验
查看>>
C — 对C语言的认识
查看>>
linkin大话数据结构--Set
查看>>
$.each 和$(selector).each()的区别
查看>>
JSON格式自动解析遇到的调用方法问题.fromJson() ..readValue()
查看>>
Crystal Reports for Visual Studio 2015 安装
查看>>