首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >android如何使用ip地址运行多个仿真器实例

android如何使用ip地址运行多个仿真器实例
EN

Stack Overflow用户
提问于 2013-12-09 22:03:50
回答 2查看 480关注 0票数 0

我在我的应用程序中使用典当服务器工具,并有问题来测试它,因为pawserver工具为所有仿真器实例提供相同的IP地址(10.0.2.15)。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2013-12-09 22:37:49

您可能想试试基因运动

因为它是基于VirtualBox的,所以您可以在每个实例中设置一个IP地址。

票数 0
EN

Stack Overflow用户

发布于 2013-12-09 23:05:42

这些文档实际上包含了有关执行您想要做的事情的信息。

请查看题为“使用网络重定向”一节,其中指出:

代码语言:javascript
复制
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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20481800

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档