views:

1586

answers:

5

Hello

I am trying to use internet with the Android emulator, but with no success. Any ideas?

+1  A: 

Check your internet settings, firewalls and such may be blocking it, I know when I was working on it in college they were blocking the port number but I've never had any trouble on my home machines

Donal Rafferty
what port is it?
Erik Sapir
+5  A: 

If by "use internet", you mean you can not access the internet from an activity while testing on the emulator, make sure you have set the internet permission in your AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET" /> 

If you are using the web browser, refer to Donal's post

ccheneson
+4  A: 

Try launching the Emulator from the command line as follows:

emulator -verbose -avd <AVD name>

This will give you detailed output and may show the error that's preventing the emulator from connecting to the Internet.

Dave Webb