How to connect Android Emulator to the Internet?

I am new to Android development. I tried to connect to the internet with an Android emulator, but I can’t connect. I tried the following command in cmp.

emulator -avd my_id -http-proxy http: //xxx.xxx.xx: 8080

emulator -avd my_id -dns-server xxx.xxx.xxx.xx -http-proxy http: //xxx.xxx.xx: 8080

And also I set the proxy server settings in the emulator (settings β†’ Wireless networks β†’ Mobile networks β†’ Access point names). In addition, I set the proxy settings in eclipse (Windows-> Preferences-> Android-> Launch-> Default Emulator Options). So far I can access the Internet to the emulator. Please give an offer. Thanks in advance.

+3
source share
2

3G, , , . , . . . , . , , .

+3

, - -, β†’ β†’ β†’ β†’ β†’ = "http://xxx.xxx.xx.xx", port = "8080" =   . .

0

All Articles