如何限制在Android模拟器的互联网连接速度? [英] How to limit speed of internet connection on Android emulator?

查看:192
本文介绍了如何限制在Android模拟器的互联网连接速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要测试与互联网连接速度较慢的工作程序。 如何以模拟Android模拟器互联网连接速度较慢?

I need to test app for work with slow internet connection. How to simulate slow internet connection on Android emulator?

推荐答案

如果您在使用Eclipse中,转到运行 - >运行配置,选择运行配置,然后转到<强>目标选项卡。在那里,你会发现一个网络速度组合框(下简称模拟器启动参数一节)。

If you are working in Eclipse, go to Run->Run Configurations, select your run configuration and then go to "Target" Tab. There you will find a "Network Speed" combobox (under the "Emulator Launch Parameters" section).

如果您从命令行中运行模拟器,那么你可以使用 -netspeed CMD行参数(执行模拟器-help-NETSPEED 对于可能的选项概述)

If you are running emulator from command line, then you can use "-netspeed" cmd line parameter (run emulator -help-netspeed for overview of possible options)

这篇关于如何限制在Android模拟器的互联网连接速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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