我一直在遵循其他问题的指示,例如如何在 Windows 上使用 Charles Web Proxy 和最新的 Android 模拟器配置 SSL 证书? https://stackoverflow.com/questions/3976728/how-to-configure-ssl-certificates-with-charles-web-proxy-and-the-latest-android(虽然我用的是MAC)并且SSL 代理/Charles 和 Android 问题 https://stackoverflow.com/questions/17823434/ssl-proxy-charles-and-android-trouble我可以使用 Charles Proxy 分析 Android 模拟器的数据包,一直到 Kitkat。
Now I'm trying to do the same for Lollipop emulators. However, when I repeated the same steps I used to successfully setup the Kitkat emulators, Charles show nothing! When I try to connect to the web using the emulator's browser, it gives the following error:
Mac OS X 上的 Android Lollipop 模拟器是否需要执行任何特殊步骤才能启用数据包嗅探?
提前致谢!
我也有同样的情况,最后找到了出路:按照您提到的链接中的说明进行操作:如何在 Windows 上使用 Charles Web Proxy 和最新的 Android 模拟器配置 SSL 证书? https://stackoverflow.com/questions/3976728/how-to-configure-ssl-certificates-with-charles-web-proxy-and-the-latest-android
然后我从 charles 进入“代理”菜单并启用“Mac OS X 代理”。突然间事情就发生了。即使我关闭了“Mac OS X 代理”...
ps:通过模拟器上的手机设置设置代理不起作用;代理设置必须通过命令行完成(模拟器命令位于 sdk/tools 中,并且应该运行如下所示:./emulator -avd Nexus_4_API_21 -http-proxy http://<your-ip-as-in-charles-help-menu>:8888
)。我还尝试了一些代理应用程序,例如 proximator,但没有成功。我也遇到了问题,重新启动查尔斯就解决了它。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)