插入其他手机后Android设备调试停止
问题描述:
我已经在我的三星 Galaxy S 设备上启动并调试了几个应用程序,然而,昨天我插入了另一个设备(相同类型)来上传音乐现在,当我尝试启动或调试应用程序时,Eclipse 希望我在 2 台设备之间进行选择(只有 1 台在线),当我选择此选项时,我收到以下错误日志:
I've launched and debugged several applications on my Samsung Galaxy S Device, however, yesterday I plugged in another Device (Same type) to upload music and now, when I try to launch or debug application, Eclipse wants me to choose between 2 devices (only 1 is online), and when I select this option, I'm getting the following Error log:
[2011-03-30 11:36:56 - ****] Uploading ****.apk onto device '1000b1eda2c2'
[2011-03-30 11:36:56 - ****] Failed to install ****.apk on device '1000b1eda2c2': adb rejected install command with: device offline
[2011-03-30 11:36:56 - ****] com.android.ddmlib.AdbCommandRejectedException: device offline
[2011-03-30 11:36:56 - ****] Launch canceled!
答
尝试adb kill-server"然后adb start-server"
Try "adb kill-server" and then "adb start-server"