Android開發模擬器報錯問題解決“The Connection to adb is down,and a server error has occured”
問題如下:
解決辦法:
一定要注意的是在Win7下要以管理員許可權CMD
下面將圖片中的文字羅列如下:
Microsoft Windows [版本 6.1.7601]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。
C:\Users\Administrator>f:
F:\>cd F:\android-sdks\platform-tools\
F:\android-sdks\platform-tools>adb kill-server
* server not running *
F:\android-sdks\platform-tools>adb start-server
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
F:\android-sdks\platform-tools>netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 3892
TCP 127.0.0.1:5037 127.0.0.1:54667 TIME_WAIT 0
TCP 127.0.0.1:54668 127.0.0.1:5037 TIME_WAIT 0
F:\android-sdks\platform-tools>tasklist|findstr "3892"
sjk_daemon.exe 3892 Console 1 2,600 K
F:\android-sdks\platform-tools>taskkill /f /im sjk_daemon.exe
成功: 已終止程式 "sjk_daemon.exe",其 PID 為 3892。
F:\android-sdks\platform-tools>adb kill-server
F:\android-sdks\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
F:\android-sdks\platform-tools>
按照上面步驟完成後,關閉eclipse,然後重新開啟,執行Android程式,模擬器就可以正常執行了!
另附一個網上其他的解決辦法:
Project -> Properties -> Run/Debug Settings:
1. select "Launching New_configuration" (你要執行的程式)
2. Delete
相關文章
- The connection to adb is down, and a severe error has occured(Android模擬器埠被佔用)ErrorAndroid
- Android-The connection to adb is down, and a severe error has occuredAndroidError
- The connection to adb is down, and a severe error has occured.Error
- eclipse執行android專案出現"The connection to adb is down, and a severe error has occured."的問題EclipseAndroidError
- 執行android程式控制臺輸出異常The connection to adb is down, and a severe error has occuredAndroidError
- android中The connection to adb is down,問題和解決Android
- 解決Linux無法開啟android模擬器問題LinuxAndroid
- 啟動UltraEdit錯誤An error has occured.The application will be shutdown.ErrorAPP
- Delta Magisk root後解決adb的報錯問題
- MySQL server has gone away 問題的解決方法MySqlServerGo
- 【BUG】鴻蒙模擬器虛擬化問題的解決方案鴻蒙
- Server Application Error報錯資訊的解決方案ServerAPPError
- Uncaught Error: Bootstrap‘s JavaScript requires jQuery報錯問題解決ErrorbootJavaScriptUIjQuery
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- Java連線虛擬機器的redis報錯問題解決辦法Java虛擬機Redis
- MYSQL啟動後報:ERROR! The server quit without updating PID file錯誤的問題解決MySqlErrorServerUI
- Android studio虛擬模擬器安裝問題Android
- 解決AndroidStudio建立模擬器時unknown errorAndroidError
- Myeclipse 錯誤An internal error has occurred 解決辦法EclipseError
- Mysql mysql lost connection to server during query 問題解決方法MySqlServer
- 解決 Inkscape 報錯 Duplicate 問題
- MongoDB mongoimport 報錯:lost connection to serverMongoDBImportServer
- 解決android studio 模擬器取法啟動聲音的錯誤Android
- 執行VMWare虛擬機器報錯“打不開 /dev/vmmon:斷裂管道”的問題解決之法虛擬機dev
- 問題MySQL server has gone awayMySqlServerGo
- 反序列 unserialize(): Error 報錯問題Error
- 解決The jar file has no source attachment問題JAR
- 1 Million TCP Connection 問題解決TCP
- iOS開發 解決pod install報錯 SSL_ERROR_SYSCALL, errno 54iOSError
- HTTP 錯誤 500.21 - Internal Server Error 解決方案HTTPServerError
- Eclipse+Android開發:Android模擬器快捷鍵EclipseAndroid
- AD18無法模擬問題的解決
- Palm公司擬大規模裁員 解決官僚問題
- HBuilder搭配逍遙Android模擬器進行開發UIAndroid
- Putty或MobaXTerm無法連線VMware虛擬機器 報Network error: Connection timed out的解決方案虛擬機Error
- 網站報錯:“Database Server Error”網站DatabaseServerError
- REMOTE HOST IDENTIFICATION HAS CHANGED 問題解決REMIDE
- 解決eslint空格報錯等問題EsLint