Accessing localhost from Andriod Emulator
by Programming Techniques ·
Published · Updated
The access of localhost in a normal way can be a bit tricky in Andriod SDK.
The normal way of accessing the localhost is :-
http://localhost or http://127.0.0.1
but when it comes to Andriod, we can’t directly access the localhost. For that use the followling address:-
http://10.0.2.2 or http://10.0.2.2/project-folder
SHARE Accessing localhost from Andriod Emulator
Warning: Undefined array key 0 in
/www/wwwroot/followtutorials.com/wp-content/themes/hueman/single.php on line
9 Warning: Attempt to read property "cat_name" on null in
/www/wwwroot/followtutorials.com/wp-content/themes/hueman/single.php on line
9 Warning: Undefined array key 0 in
/www/wwwroot/followtutorials.com/wp-content/themes/hueman/single.php on line
14 Warning: Attempt to read property "category_parent" on null in
/www/wwwroot/followtutorials.com/wp-content/themes/hueman/functions.php on line
37 Warning: Undefined array key 0 in
/www/wwwroot/followtutorials.com/wp-content/themes/hueman/single.php on line
15 Warning: Attempt to read property "category_parent" on null in
/www/wwwroot/followtutorials.com/wp-content/themes/hueman/single.php on line
15