[英]Is there truly a way to send ADB commands without the usage of a cable to a non-rooted android device?
So, let's make this perfectly clear.所以,让我们把它说清楚。
Is there truly a way to establish the ADB and use it to send commands wirelessly on a non-rooted physical android device?真的有办法建立 ADB 并使用它在非 root 的物理安卓设备上无线发送命令吗? My scenario is basically one PC Desktop computer and one Android device.
我的场景基本上是一台 PC 台式电脑和一台 Android 设备。 Nothing else.
没有其他的。 I only need to establish ADB between the two under the mentioned conditions.
我只需要在上述条件下在两者之间建立亚行。 If a method suiting my scenario and condition exists, what may it be?
如果存在适合我的场景和条件的方法,那可能是什么?
There are countless of threads regarding this exact question, but many make the wrong answer and get good feedback, while others get moderated on and marked as duplicate of a thread that has absolutely nothing to do with the original question .关于这个确切的问题有无数个线程,但很多都给出了错误的答案并获得了良好的反馈,而其他线程则被审核并标记为与原始问题完全无关的线程的重复。 A typical answer to this type of thread or a moderator's reference either contain the usage of a cable and/or rooting the device, while the question has made it perfectly clear not to use any of it.
此类主题的典型答案或版主的参考要么包含使用电缆和/或生根设备,而问题已明确说明不使用任何电缆。
It's misleading and annoying.这是误导和烦人的。 I can't get a simple answer out of anywhere involving this question.
我无法从涉及这个问题的任何地方得到一个简单的答案。 It is confusing as it does not involve an answer that meets the original post's details, scenarios, etc.
它令人困惑,因为它不涉及符合原始帖子详细信息、场景等的答案。
Yes.是的。 You can connect your Android device over WiFi to your PC, no cable required:
您可以通过 WiFi 将您的 Android 设备连接到您的 PC,无需电缆:
(These steps are taken directly from the Android Developer Docs here: https://developer.android.com/studio/command-line/adb ) (这些步骤直接取自此处的 Android 开发人员文档: https : //developer.android.com/studio/command-line/adb )
On Android 11+:在 Android 11+ 上:
adb pair ipaddr:port
.adb pair ipaddr:port
。 Use the IP address and port number from step 5. none
Enter pairing code: 482924
Successfully paired to 192.168.1.130:37099 [guid=adb-235XY]
adb connect ipaddr:port
. adb connect ipaddr:port
。 Use the IP address and port under Wireless debugging:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.