ANDROID EMULATOR ON WINDOWS
In this tutorial we shall be discussing about accessing localhost server from Android SDK, ofcourse first you need to have that emulator installed on you machine, you can do it from Android SDK official site .
So I am not gonna go into nerd stuff, keeping it short and simple.
Now the problem arises in that localhost is not accessible once we type http://localhost/ on our emulators, so how to access that, well pretty simple, just type the following address instead.
http://10.0.2.2/ or http://10.0.2.2/yourfoldername and you are good to go.
I googled it but couldn't find this simple url, so posting it, may be you can save your time.
Happy Coding !!
Comments
Post a Comment