使用TCP / IP上的一个真实的电话亚行logcat [英] adb logcat on a real phone using tcp/ip

查看:169
本文介绍了使用TCP / IP上的一个真实的电话亚行logcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从Android手机通过WiFi进行转储(使用TCP / IP)使用亚行? ADB连接可以使用,但它需要一些服务器可以在手机上运行(在5555端口)。我如何启动这台服务器? 或从手机获取日志的唯一方法是将其连接为一个USB设备?

Can I dump logs from an android phone over wifi (using tcp/ip) using adb? adb connect can be used, but it needs some server to be running on the phone (at 5555 port). How do I start this server? Or the only way to get logs from a phone is by connecting it as a USB device?

推荐答案

安装的 adbWireless 您的手机上。运行应用程序,并单击大按钮(你不能错过它!)。这将激活亚行通过WiFi和显示的URL中使用连接到它与亚洲开发银行命令。

在您的计算机上,运行亚洲开发银行命令和连接参数。用法亚行说:

On your computer, run the adb command with the connect parameter. The usage for adb says:

 connect <host>[:<port>]       - connect to a device via TCP/IP
                                 Port 5555 is used by default if no port number is specified.

显然计算机和智能手机必须相同Wifi网络上。

Obviously the computer and the smartphone must be on the same Wifi network.

这篇关于使用TCP / IP上的一个真实的电话亚行logcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆