当电话已经使用了USB端口时,是否可以在Android上进行USB欺诈?

发布于 2025-02-02 20:25:34 字数 461 浏览 2 评论 0原文

问题:我想通过USB,使用Android Studio在手机上运行一个应用程序,而我的手机则将其物理连接到另一台USB设备(无人机的遥控器)。

在这种情况下,我有:

  • 我的笔记本电脑(MacBook运行Android Studio Bumblebee)
  • 我的手机(带有Android 11的三星Galaxy 11)
  • DJI无人机的控制器(直接插入电话)

问题显然只有1 USB端口,因此无法连接到笔记本电脑和控制器。

问题:是否有可能(使用USB集线器或将手机和控制器连接到计算机?)可以通过笔记本电脑通过电话通过USB通信到控制器的电话进行USB调试?

注意:我以前已经成功地将笔记本电脑到电话连接到了手机上,但是连接可能会有点慢,也很懒惰,因此,如果可能的USB可能会有可能。此外,当我的手机是笔记本电脑的互联网热点时,我将无法执行此操作(因此我需要带来另一个热点设备)。

Problem: I'd like to run an app on my Phone from my laptop, via USB, using Android Studio, while my phone is physically connected to another USB device (a remote controller for a drone).

In this case, I have:

  • My Laptop (MacBook running Android Studio Bumblebee)
  • My Phone (Samsung Galaxy with Android 11)
  • A controller for a DJI drone (which plugs directly into the Phone)

Problem is the phone obviously only has 1 USB port, so can't connect to both the laptop and the controller.

Question: Is it possible (with a USB hub or maybe connecting both phone and controller to computer?) to do usb debugging on phone from laptop while phone communicates via USB to controller?

Note: I have successfully connected laptop-to-phone with WIFI-debugging before, but the connection can be a bit slow and laggy so it would be nice if it was possible with USB. Additionally I am not able to do this while my phone is working as the internet hotspot for the laptop (so I need to bring in yet another hotspot device).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

深海夜未眠 2025-02-09 20:25:34

您唯一的选择是在第二台手机上使用DJI桥应用程序。
它还使用WiFi,因此我怀疑它会比Wifi-ADB更好。

Only option you have is to use the dji bridge app on a second phone.
It also uses the wifi, so I doubt it will work better than wifi-adb.

街角迷惘 2025-02-09 20:25:34

由于您拥有Android 11手机,因此可以使用“使用WiFi配对设备”。这样,您可以将应用程序从PC运行到手机中。

Since you have an Android 11 phone, you can use "Pair device using Wifi". In this way you can run the app into your phone from your pc.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文