Android adb常見問題整理

來源:互聯網
上載者:User

問題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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.