2

I am not getting the internet in the android emulator browser. But i am getting the net in my pc's browser.. What may the reason for that?

PgmFreek
  • 6,374
  • 3
  • 36
  • 47
  • See this thread if it can help you http://stackoverflow.com/questions/2206822/no-internet-on-android-emulator-why-and-how-to-fix – ccheneson Apr 30 '11 at 09:51

5 Answers5

2

I think it is a bug if you upgrade SDK to 2.3.

Start your emulator from command prompt prompt like

your_path_of_android_sdk\tools\emulator -avd <AVD Name> -dns-server 8.8.8.8

This will help you out as a temporary solution.

Tanmay Mandal
  • 39,873
  • 12
  • 51
  • 48
1

set your system time & date properly, sometimes it creates problem

0

Use https SSL secure connection url in android emulator browser, because by default emulator get PC information about proxy.

Another I got the common problem with com.android.browser wanting to force close every time I tried to use the Internet app. By mistake I found and easier solution than hard resetting the phone.

Under Settings/Application/Manage applications you have a tab saying All. Under that tab you’ll find the Internet app. Click on it and you’ll find a button called Clear data. I don’t know what kind of data you lose but now I don’t get the force close message at least. I didn't have to backup everything, doing a hard reset and performing the update again.

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
Muhammad Mubashir
  • 1,591
  • 1
  • 21
  • 18
0

If you are using a proxy you need to set the environment variable http_proxy to point to your proxy URL to enable internet in the emulator

Krishna
  • 1,871
  • 14
  • 26
0

The answers to this question might help: Upgraded to SDK 2.3 - now no emulators have connectivity

Community
  • 1
  • 1
NickT
  • 23,844
  • 11
  • 78
  • 121