简体   繁体   English

已连接两个连结装置的ADB

[英]ADB with two nexus devices connected

I have two devices, a Nexus 10 and a Nexus 7 tablets which I connect to my PC via two separate USB cables. 我有两个设备,分别是Nexus 10和Nexus 7平板电脑,它们通过两条独立的USB电缆连接到我的PC。

Windows Explorer pops up the Autoplay window for both of them when I do so they are recognised as devices. 当我这样做时,Windows资源管理器会弹出这两个窗口的“自动播放”窗口,因此它们会被识别为设备。

I revoke USB debugging authorisations for both devices. 我撤销了这两种设备的USB调试授权。

I plug Nexus 7 and authorise the computer to be the debugger. 我插入Nexus 7,并授权计算机作为调试器。

List of devices attached
015d2d426b2ffe15        device

I disconnect Nexus 7 and connect Nexus 10. 我断开Nexus 7的连接,然后连接Nexus 10。

I authorise the device and everything is fine. 我授权了该设备,一切都很好。

List of devices attached
R32CB03S65R     device

I connect Nexus 7 again (without plugging out Nexus 10) and the device is not even recognised by ADB. 我再次连接Nexus 7(未插入Nexus 10),但亚行甚至无法识别该设备。

I restart the ADB server and no device is displayed and both devices need me to reauthorise the same computer. 我重新启动ADB服务器,没有显示任何设备,并且两个设备都需要我重新授权同一台计算机。 Even if I do no device gets recognised. 即使我不识别任何设备。

chome://inspect shows both devices, ADB and Eclipse are showing only one. chome:// inspect显示两种设备,ADB和Eclipse仅显示一种。

If by chance, both devices become visible in ADB, after a lot of random plugging in and out, I try to android:deploy my maven app in Eclipse. 如果偶然,两个设备在ADB中都可见,经过大量随机插入和拔出后,我尝试在Eclipse中进行android:deploy我的maven应用。 On nexus 7 it uninstalls the old one and installs the new one fine, but on nexus 10 I get a InstallException: TimeoutException (with timeout option set to 15s) 在nexus 7上,它可以卸载旧版本,然后再安装新版本,但是在nexus 10上,我收到InstallException:TimeoutException(超时选项设置为15s)

If I have nexus 10 connected and I connect nexus 7, nexus 10 disappears from the list and nexus 7 doesn't show up either. 如果我连接了nexus 10,并且连接了nexus 7,则nexus 10将从列表中消失,nexus 7也不会出现。

Have anyone come across anything like this before? 有人遇到过这样的事情吗? Is there any special configuration needed to be able to work with both devices at the same time? 是否需要任何特殊配置才能同时使用两个设备?

Any help greatly appreciated. 任何帮助,不胜感激。

-J -J

在尝试将设备连接到PC上的不同USB端口后,我发现了一种组合使其可以使用...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM