How to capture http traffic with Android Studio 2.1 and Charles proxy?

▼魔方 西西 提交于 2019-12-08 07:40:34

问题


I have updated the Android Studio IDE to the last version 2.1, and I want to capture the https traffic from the Android Emulator with the Chalres Proxy.

It looks that the emulator changed with the Android Studio 2.1, and I can't find the way to capture http traffic with charles proxy.

In Stack Overflow there are some similar question but these are on older Android Studio versions, and I can´t find in that answers the solution to my problem.


回答1:


Follow this instruction to use Charles proxy with Android API 23 emulator devices. For me it works for http. But for https traffic I get only unresolved IP addresses within the Charles session. Does anyone know how to support DNS with Charles Proxy, Android avd and https? I've made up a new post for my configuration.



来源:https://stackoverflow.com/questions/36628854/how-to-capture-http-traffic-with-android-studio-2-1-and-charles-proxy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!