gpt4 book ai didi

android如何使用ip地址运行多个模拟器实例

转载 作者:行者123 更新时间:2023-11-30 03:13:49 29 4
gpt4 key购买 nike

我使用 pawserver工具与我的应用程序一起测试它,因为 pawserver 工具为所有模拟器实例提供相同的 IP 地址 (10.0.2.15)。

最佳答案

文档实际上包含有关执行您想执行的操作的信息。

检查标题为“使用网络重定向”的部分,其中指出:

To communicate with an emulator instance behind its virtual router, you need to set up network redirection on the virtual router. Clients can then connect to a specified guest port on the router, while the router directs traffic to/from that port to the emulated device's host port. 

http://developer.android.com/tools/devices/emulator.html

关于android如何使用ip地址运行多个模拟器实例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20481800/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com