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.
source
share