error: more than one device and emulator 【转】

用adb install安装APK时候报error: more than one device and emulator错误;

怎么回事?

 

adb devices查看如下:


1,原因是我运行模拟器的同时还接了手机USB


方法二:
2,还有其它情况:
连接的设备多余一台。
如果确定只连接了一台,先执行以下语句:
adb kill-server
这样也可以了
方法三:
3,在进程里结束了ADB.exe 居然就好啦,这样也可以用了。

以上三种情况,看你是那和种了

猜你喜欢

转载自tenacious.iteye.com/blog/1726044