android


Can't access HTTPS from my Android Emulator


I'm behind a corporate proxy and everything that access the internet needs a special configuration regarding Proxy. I'm on a CentOS 7, using CNTLMD to handle proxy tunneling, developing for mobile with React Native. And I'm using the Android Emulator provided by Android Studio.
I first noticed that my emulator can't access any HTTPS protocol when I tried to open Google in the Browser. Internally google redirects to HTTPS and I always get that "Connection Refused" error. Later (this week), trying to use Axios and Fetch to make HTTP/HTTPS requests, this has become a serious problem, since the APIs I'm trying to connect to are under the HTTPS protocol.
A friend of mine who is working in the same project but using Mac has no problems with HTTPS. I have also tried to start the emulator with the following commands:
emulator -avd myemulator -http-proxy http://127.0.0.1:3128
And
emulator -avd Marshmallow86 -http-proxy http://<network username>:<network password>#<ip>:<port>
And they do nothing.
I tried setting up HTTP and HTTPS proxy on Android Studio but this don't seem to be the way (and also didn't work).
#edit
I set the http_proxy on my host and started the emulator without parameters. Didn't work as well.
What am I missing?

Related Links

PerspectiveTransform and Crop Rectangle in Android using openCV
Android TableLayout duplication on orientation change
Android : Child layouts occupying the whole width of screen
How to fix 414(Request-URI Too Long) error in android Asynctask?
How to insert a list of values in a column in excel sheet using aspose library in android?
Can't finish my app onbackpressed
How to set child item in expandable list view in android using nearby location
File download does not work for me
Removing <br> using XmlPullParser Android
Geofencing with only GPS does not work in android
Android: How to make animation starting from the last position?
OkHttp - Unable to resolve host <url> : No address associated
Retrofit list of items always null
Auto complete Textview shows older data secound time when use web service to get data using filterable
Youtube video to videoview android error
Can I make a texture from specific fragment?

Categories

HOME
go
phantom-dsl
ggplot2
css3
alexa-skills-kit
depth
big-o
maxscript
zip
data-visualization
character
extjs4.2
why3
emoji
x-cart
opengl-es-3.0
rtf
libc
frequency-distribution
atlassian
symfony-2.8
cfml
solrcloud
poedit
dpdk
href
ios10.2
parcelable
scriptella
tosca
jquery-multiselect
amazon-quicksight
soot
subclass
alm
anki
autolisp
rselenium
papaparse
jett
biztalk-rule-engine
joomla2.5
dm-script
password-protection
azure-arm
attributeerror
smoothstate.js
photos
openblas
podscms
zenhub
reindex
pair-programming
static-cast
context-sensitive-grammar
skin
sundials
check-mk
java-websocket
vibrate
restore
angular2-testing
myspace
jquery-jscrollpane
i386
installshield-2010
pre-build-event
deep
nullable
pushbots
cycle2
ascii-art
maybe
sapi
linklabel
vigenere
rate-limiting
page.js
procedural-programming
apache-spark-1.3
metatrader5
jqmodal
cancellation
rolify
scringo
mvc-editor-templates
asdf
swfobject
android-sdk-2.3
curb
dajaxice
subgraph
listitem
httponly
koken
fitbounds
google-ajax-api
tmx
mtu
undefined-index
tabpanel
data-mapping
dsl-tools
lobo-cobra
google-wave
movieplayer
online-storage

Resources

Encrypt Message