问题描述
我正在测试一个Android应用程序,该应用程序在低质量网络上管理其内容时遇到了一些问题.我无法验证问题是否仍然存在,因为以我家里的网络速度(120mb/s),在设法开始复制路径之前,所有内容都已下载.在这种情况下,不能选择使用Android模拟器,因为复制路径需要非常迅速的行动才能使问题出现.
I am testing an Android application which had some problems with managing its content on low quality networks.I am unable to verify if the problem still occurs, because with the speed of the network I have in my home (120mb/s), everything is already downloaded before I manage to start the reproduction route. Using the Android simulator is not an option in this case, as the reproduction route demands very quick action for the issue to appear.
我知道iOS具有允许用户限制网络条件的功能,但是我找不到适用于Android的类似工具.
I know that iOS has feature which allows users to limit network conditions, but I am unable to find a similar tool for Android.
TL; DR
有什么方法可以在实际的Android设备上模拟不良的网络状况?
Is there any way to simulate a bad network condition on actual Android device?
推荐答案
给出 BradyBound .不过,您需要为此使用有根电话.
Give BradyBound a try. You need to have a rooted phone for this, though.
您也可以尝试此linux命令.除了root用户之外,您还需要一个终端仿真器.
You can also try this linux command. You'll need a Terminal Emulator for this in addition to root.
这篇关于如何限制Android设备的网络速度以进行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!