问题描述
嘿,我想知道你需要root用户更多的做到这一点?我想安装/运行的应用程序通过无线来停止所有的这种电缆切换。我也看过,它虽能引起一些错误?这是旧的职位上这个网站,我想知道是不是可靠,易现在怎么办?
Hey i was wondering do you need root to do this any more? I want to install/run apps over wireless to stop all this cable switching. I have also read that it can cause some errors though? That was on old posts on this site, I was wondering is it reliable and easy to do now?
推荐答案
生根不是必需的。使用USB电缆连接,端口5555打开所有参与的防火墙和调试模式下启用
Rooting is not required. With USB cable connected, port 5555 opened across all involved firewalls and debug mode enabled
adb tcpip 5555
然后看看你的设备和使用网络的无线性能,看看哪些IP地址已被授予设备(或总是配置DHCP使用相同的设备MAC地址)。然后
then look into wireless properties of your device and the network you use, to see which IP address have been granted to device (or configure your DHCP always to use the same for the device mac address). Then
adb connect 192.168.1.133
(分别为192.168.1.133是一个简单的IP地址)。
(were 192.168.1.133 is a sample IP address).
这是所有。现在,您可以使用亚行外壳
或 ADB安装
或 ADB上传
或类似用USB线拔出。
This is all. You can now use adb shell
or adb install
or adb upload
or the like with USB cable plugged out.
要切换回USB模式,
adb usb
该装置还可以重新启动后恢复到USB模式。
The device may also revert back to USB mode after reboot.
此模式是需要的那些使用直接连接的USB设备(USB端口被装置,从而不能使用由亚行)的应用程序的开发。它简要介绍在Android网站 USB调试部分。
This mode is needed for development of applications that use attached USB devices directly (USB port is used by device so cannot be used by ADB). It is briefly covered in the USB debugging section of the Android website.
这篇关于亚行通过无线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!