简体   繁体   中英

Connect Android emulator to the internet(Ubuntu)

I'm developping a SIP application, and i must have a connection to test if it works or not. I tried to verify the connection by opening a webpage in the emulator but i have an error Web page not available(=> no connection). I'm on Ubuntu, how can i please configure the emulator to have an internet connection. Thank you very much.

no i'm not seeing the 3G logo in the emulator

This means that the emulator is unable to reach the Internet when it starts up. It appears to make this determination around the time the home screen or keyguard appears.

Normally, this just works, with the occasional failure due to Internet traffic or similar external issues. Hence, the first thing to do is simply restart the emulator.

If the problem is persistent, then there is some proxy server or firewall that is interfering with your Internet access. You may wish to read this section of the Android developer documentation , particularly the "Local Networking Limitations" and "Using the Emulator with a Proxy" portions.

I've no experience with Ubuntu but had similar problems with Windows a while back. The answers to my question Upgraded to SDK 2.3 - now no emulators have connectivity

just might be of some use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM