如何使用 Android Studio 2.1 和 Charles 代理捕获 http 流量? [英] How to capture http traffic with Android Studio 2.1 and Charles proxy?

查看:117
本文介绍了如何使用 Android Studio 2.1 和 Charles 代理捕获 http 流量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 Android Studio IDE 更新到最新版本 2.1,并且我想使用 Chalres 代理从 Android 模拟器捕获 https 流量.

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.

看起来模拟器随着 Android Studio 2.1 发生了变化,我找不到使用 charles 代理捕获 http 流量的方法.

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.

在 Stack Overflow 中,有一些类似的问题,但这些是在较旧的 Android Studio 版本上,我找不到解决我问题的答案.

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.

推荐答案

按照此说明 在 Android API 23 模拟器设备上使用 Charles 代理.对我来说,它适用于 http.但是对于 https 流量,我只能在 Charles 会话中获得未解析的 IP 地址.有谁知道如何通过 Charles Proxy、Android avd 和 https 支持 DNS?我写了一篇新帖子对于我的配置.

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.

这篇关于如何使用 Android Studio 2.1 和 Charles 代理捕获 http 流量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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