adb如何找到模拟器?
启动模拟器实例后,我可以使用 adb 来控制它。但我不需要指定模拟器的监听端口。我的问题是它们如何连接在一起?使用默认端口?或其他东西。
After starting an emulator instance, I can use adb to control it. But i don't need to specify the listening port of the emulator. My question is how does them connect together? Use default port? or something else.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它扫描从特定范围开始的偶数端口并尝试连接。每个仿真器控制一个端口。
基本上如 http://developer.android.com/guide/developing/tools 上所述/模拟器.html
在网络端口部分它说
It scans the even numbered ports starting at a specific range and attempts to connect. The emulator takes control of a port each.
Basically as said on http://developer.android.com/guide/developing/tools/emulator.html
In the network -port section it says