Search code examples
androidproxycharles-proxy

How to hide Charles from an Android App?


I have configured Charles as a proxy so I can capture all the requests on my android phone.

I am able to capture requests from all apps except one special app. When I set my wifi's proxy to my computer and port 8888, this app can not connect to network. While other apps connect fine at the same time.

I have tried using Packet Capture too and the behaviour is the same.

So my question is how does this app know I am using Charles? And is there any way to hide Charles from it?


Solution

  • I have found the problem. When I upgrade Charles, the certificate will not update automatically. It means that I have to remove the old certificate from mac's Key chains and then reinstall the latest one and then believe it. If not, all HTTPS requests methods will become "CONNECT" method and it will always failed.

    If you have the same problem, please try to remove the old certificate and reinstall the latest one both in mac and phone. Hope you can solve the problem.