Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用模拟器模拟一些网络问题。我知道按 f8 可以禁用网络,但结果是我失去了与 eclipse、adb 和调试会话的连接!
此外,我无法测试网络正常时服务器可能无法正常工作的情况,或其他类似的网络问题。
安装 GenyMotion
设置平板电脑的虚拟机
通过 Eclipse 使用它
然后在虚拟机中
设置 WiFi 关闭
实现梦想,刚刚尝试过
菲尔
您可以使用telnet在模拟器中访问 Android 控制台,并从那里影响模拟网络连接的速度和延迟。
telnet