manual proxy configuration android studio for local host code example
Example: start a local SMTP debugging server in linux
$sudo python -m smtpd -c DebuggingServer -n test.com:1025
$sudo python -m smtpd -c DebuggingServer -n test.com:1025