1. 程式人生 > >安卓真機模擬 com.android.ddmlib.AdbCommandRejectedException: device offline

安卓真機模擬 com.android.ddmlib.AdbCommandRejectedException: device offline

解決問題:com.android.ddmlib.AdbCommandRejectedException: device offline
當控制檯出現:

Uploading ****.apk onto device '1000b1eda2c2'
Failed to install ****.apk on device '1000b1eda2c2': adb rejected install command with: device offline
com.android.ddmlib.AdbCommandRejectedException: device offline
Launch canceled!
第一種:重啟電腦,之後把手機查到電腦上,啟動eclipse

第二種:手機-設定-應用程式-開發-usb除錯開啟再關閉一次
第三種:安裝豌豆夾或者360手機精靈在電腦上,用他們連線手機,安裝驅動。
第四種:在cmd下Try "adb kill-server" and then "adb start-server"