The connection to adb is down, and a severe error has occured.
方法1:cmd中,轉到你的android SDK 的platform-tools的路徑下,輸入adb kill-server,然後在輸入adb
-startserver, 如果不成功會提示 daemon not running. starting it now on port ***的,而如果成功的話不提示任何語句的.這時再重新開啟eclipse就可以正常執行模擬器的了。
方法2:在工作管理員中殺死adb.exe,然後重啟Eclipse。
方法3:看你是否安裝了360安全衛士;如果安裝了360,360也有個adb.exe程式,所以eclipse的adb.exe無法啟動,導致除錯時adb連線不上。先關閉360安全衛士,第一次run,啟動adb.exe後,再啟動360安全衛士,就不會有問題了。
方法4:看看你是否安裝了豌豆夾這個程式,並設定了允許豌豆夾自動連線到手機的選項,如果是那麼在程式中就會有豌豆夾的後臺程式,從工作管理員中將豌豆夾的後臺程式結束掉,再重啟Eclipse就OK了(我當初就是這種問題)
方法5:你檢視\tools目錄發現多了一個adb_has_moved.txt檔案,裡面明確告訴了原因:The adb tool has moved to platform-tools。原來從SDK R8以後,SDK需要有一個新的元件支援,這個元件叫做Platform-tools,adb已經遷移到這個目錄下去了。並且 adb_has_moved.txt檔案也說明需要在PATH環境變數中增加\platform-tools路徑,以便能夠從任何地方啟動adb.exe。 那麼如何解決Eclipse中報的錯誤提示呢?其實只要升級ADT更新8.0.0版本或更新版本即可。在Eclipse中選擇選單“help->Check for update”,選擇更新ADT即可。 按上面操作完成後,重啟Eclipse,問題解決!
方法2:在工作管理員中殺死adb.exe,然後重啟Eclipse。
方法3:看你是否安裝了360安全衛士;如果安裝了360,360也有個adb.exe程式,所以eclipse的adb.exe無法啟動,導致除錯時adb連線不上。先關閉360安全衛士,第一次run,啟動adb.exe後,再啟動360安全衛士,就不會有問題了。
方法4:看看你是否安裝了豌豆夾這個程式,並設定了允許豌豆夾自動連線到手機的選項,如果是那麼在程式中就會有豌豆夾的後臺程式,從工作管理員中將豌豆夾的後臺程式結束掉,再重啟Eclipse就OK了(我當初就是這種問題)
方法5:你檢視\tools目錄發現多了一個adb_has_moved.txt檔案,裡面明確告訴了原因:The adb tool has moved to platform-tools。原來從SDK R8以後,SDK需要有一個新的元件支援,這個元件叫做Platform-tools,adb已經遷移到這個目錄下去了。並且 adb_has_moved.txt檔案也說明需要在PATH環境變數中增加\platform-tools路徑,以便能夠從任何地方啟動adb.exe。 那麼如何解決Eclipse中報的錯誤提示呢?其實只要升級ADT更新8.0.0版本或更新版本即可。在Eclipse中選擇選單“help->Check for update”,選擇更新ADT即可。 按上面操作完成後,重啟Eclipse,問題解決!
相關文章
- android中The connection to adb is down,問題和解決Android
- Error waiting for a debug connection: ProcessException: adb did not report forwarded portErrorAIExceptionForward
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- Dr.Elephant mysql connection errorMySqlError
- Error: Connection activation failed: Device not managed by NetworkManagerErrorAIdev
- [ERROR] InnoDB: ibdata1 different size (rounded down to MB)Error
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- 異常 This application has no explicit mapping for /error so yAPPError
- Thread 1: Fatal error: init(coder:) has not been implementedthreadError
- oracle OGG-01232 Receive TCP params error:TCP/IP error 232(connection reset)OracleTCPError
- ascp: Failed to open TCP connection for SSH, exiting. Session Stop (Error: Failed to open TCP connection for SSH)AITCPSessionError
- MyEclipse - Retrieving archetypes: has encountered a problem An internal error occurred duringEclipseError
- OGG-01224 error 111:Connection refused - retries exceeded.Error
- Error on opening a connection to slave1:33061 on local port: 33061Error
- Sqoop從Oracle抽數錯:IO Error: Connection resetOOPOracleError
- Listener refused the connection with the following error:ORA-12514, TNS:listenerError
- 記錄redis佇列read error on connection to錯誤Redis佇列Error
- mysqldump: Error 2013: Lost connection to MySQL server during query when dumpingMySqlErrorServer
- [ERROR] [MY-012872] [InnoDB] [FATAL] Semaphore wait has lasted > 600 secondsErrorAIAST
- Error establishing a database connection 的解決方法(發現黑客入侵)ErrorDatabase黑客
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- oozie.action.hadoop.LauncherException: IO error Connection timed out: no further informationHadoopExceptionErrorORM
- Cargo invocation has failed: Error: exit code: 101.解決辦法CargoAIError
- Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using anErrorObjectZed
- SQLITE_ERROR - table sap_capire_bookshop_books has no column named currencySQLiteErrorAPI
- adb連線失敗報錯“AdbProcess::error:adb server version (32) doesn‘t match this client (41); killing...”的修復ErrorServerclient
- 【Error】AttributeError: module ‘scipy.misc‘ has no attribute ‘logsumexp‘ 的解決辦法Error
- dbeaver 升級 24.1.x 版本提示 An error has occurred 的解決Error
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- Error: php@8.0 has been disabled because it is a versioned formula! It was disabled on 2023-11-29.ErrorPHPORM
- 連線華為雲的Redis服務報錯“Error: Connection reset by peer”RedisError
- 3.3 Shutting Down a DatabaseDatabase
- 常用adb 和 adb shell 命令
- nacos Connection refused (Connection refused)
- 3.3.4 Shutting Down with the Transactional Mode
- check memcached process and restart if downREST
- 【JavaDebug(七)】之SpringBoot的Web專案異常:This application has no explicit mapping for /error, so you are seJavaSpring BootWebAPPError
- Connection