Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有桌面应用程序通过 adb 与 Android 设备通信。有时设备进入离线状态,我的程序无法运行。现在我试图通过以编程方式禁用和启用usb端口来解决它,但不幸的是我无法测试它,因为设备仍然处于在线状态......
是否有可能强制执行设备的离线状态?