Tuesday, May 23, 2017

Charles proxy setup in Android emulator


  • Start the emulator from terminal
    • cmd: emulator -avd <avd_name> -http-proxy http://<LOCAL_IP>:8888
    • LOCAL_IP - Check Charles proxy help menu for your local ip.
    • ex: emulator -avd Nexus_6P_API_25 -http-proxy http://10.10.12.17:8888
  • Setup charles proxy in emulator
    • http://www.charlesproxy.com/getssl/ open this url in chrome
    • It will download the Charles proxy file.
    • Open the downloaded files and follow the instructions to setup the proxy
  • Open Charles proxy tool in your mac and start recording.

No comments:

Post a Comment