简体   繁体   English

使用ADB将Nexus 7连接到Android手机

[英]Connect Nexus 7 to Android phone using ADB

I am working on a interesting problem. 我正在研究一个有趣的问题。 I want to debug my android phone from my nexus 7 tablet. 我想从我的nexus 7平板电脑调试我的android手机。

I have managed to connect the two devices using USB cable and the nexus 7 is in host mode, however the phone is only recognized as a camera or a storage device. 我设法使用USB电缆连接了两个设备,并且nexus 7处于主机模式,但是该电话仅被识别为相机或存储设备。

I have terminal up and running on my nexus 7. I am running adb but cannot see the connected samsung s3 device. 我的终端已安装并在nexus 7上运行。我正在运行adb,但看不到连接的三星s3设备。

Has anyone done something like this? 有人做过这样的事情吗? Any ideas on what can be done here? 关于在这里可以做什么的任何想法?

Thanks and appreciate your help. 谢谢,感谢您的帮助。

I tried doing the same thing thru the Terminalemulator . 我试图通过Terminalemulator做同样的事情。 I got the same results as you first, then I tried to pull the USB cables from the three intersections, and replacing it again: 我得到的结果与您相同,然后我尝试从三个交叉点拉出USB电缆,然后再次更换:

  1. in phone 在电话里
  2. between OTG and standard cable 在OTG和标准电缆之间
  3. in nexus 7 在连结7

I got it to work when I pulled it out from the nexus 7 (host) and replaced it. 当我从nexus 7(主机)中拔出它并更换它时,它就可以工作了。

I have a rooted nexus 7 but it did not seem to need any su permisions. 我有一个根深蒂固的联系7,但它似乎不需要任何su权限。 It also worked to put a USB hub between the two devices and add a keyboard so that the terminal operation was smoother. 它还可以在两个设备之间放置一个USB集线器,并添加一个键盘,以使终端操作更流畅。

I hope that you get it to work, it is a pretty cool feature! 我希望您可以使用它,这是一个非常酷的功能!

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

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