ADT 連線手機執行android應用程式時報錯

2021-09-06 13:26:26 字數 1019 閱讀 5455

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 ....

解決方法:

(1):開啟cmd,進入:

>adt-bundle-windows-x86-20131030\sdk\platform-tools>adb.exe kill-server

>adt-bundle-windows-x86-20131030\sdk\platform-tools>adb.exe start-serfver

adb server is out of date. killing...

adb server didn't ack

* failed to start daemon *

此方法解決不了。

(2):檢視埠號占用情況

>netstat -aon | findstr "5037"

tcp    127.0.0.1:5037

0.0.0.0:0 listening 5932

tcp

127.0.0.1:5037

127.0.0.1:50462 established 5932

檢視任務:

>tasklist | findstr "5932"

tadb.exe                      5932 console                    1

5,260 k

將此任務kill掉,然後重啟adt問題解決:

>taskkill /f /t /im tadb.exe

成功: 已終止 pid 5932 (屬於 pid 5820 子程序)的程序。

ADT 不能連線手機

1.檢查手機是否開啟了usb除錯 手機設定 開發者選項 選擇usb除錯 重新連線手機,還是不能連線請看第2步 2.linux系統或者mac os 如果出現上面的問題,而且有且只有connection attempts 1 這一條鏈結資訊,目前的解決方法就是重啟eclipse。如果出現的是 2015 ...

eclipse連線手機

2 eclipse使用版本 adt bundle windows x86 20140702資料夾中的eclipse,是外掛程式的整合版本,可快速安裝所需要的sdk jdk等外掛程式,安裝完畢 3 檢視真機是否連線 eclipse軟體,視窗 顯示檢視 選擇 devices 顯示真機的名稱即可 wind...

手機執行ubuntu

用手機執行 而不是安裝 ubuntu,閒著沒事試了一下,居然成功了。1 需要用到的軟體 超級終端better terminal,遠端桌面androidvnc,busybox 2 需要用到的檔案,ubuntu.img映象和ubuntu.sh指令碼,網上都可以找到。3 需要手機root許可權。步驟 1 ...