error: more than one device and emulator

来源:互联网 发布:中国内河航运 知乎 编辑:程序博客网 时间:2024/05/11 20:27

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

error: more than on<wbr>e device and emulator - porpoise - 嵌入笔记

怎么回事?

adb devices查看如下:

error: more than on<wbr>e device and emulator - porpoise - 嵌入笔记

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


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

以上三种情况,看你是那和种了
0 0
原创粉丝点击