Capturing HTTPS communication from Android emulator
Hello, I wonder, if it's possible to capture and reveal secured (TLS) taffic of an app running inside Android emulator, specifically MEMU. While I'm able to set SSLKEYLOGFILE environment entry and decrypt secured layer from my browser, the emulator seems to bypass the setting and not logging the certificates. I see the remote endpoints, but the packet details are only on level of TLS. So I'd appreciate a working method or if there's none, please suggest me a different software/emulator for it. Eventually I could install the APK to a physical device, but I'm not familiar with capturing TCP/IP on Android.
Do you need packet capture or just to look inside the TLS traffic?
You might explore using a proxy (Charles, Fiddler, ZAP, Burp, ...).
I need to look inside the requests so packet capture. I have evaluated Fiddler (with HTTPS enabled), but it even didn't trigger any relevant request.
I'm interested, if there's a different emulator (Android Studio) which could expose network traffic better.