Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5995141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:55:04+00:00 2026-05-22T23:55:04+00:00

While working with my app that require network access… The Android 2.2 emulator’s network

  • 0

While working with my app that require network access…

The Android 2.2 emulator’s network connection stop working…

The net was working properly but after some time it did not respond on emulator,

while it was working f9 on my system…

I have cross checked the net connections and restarted with the emulator(even created a new avd ). But the problem remains same my net is not working on emulator..

I have also checked the connection with F8 key on emulator…

My app manifest net permission is enabled….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:55:05+00:00Added an answer on May 22, 2026 at 11:55 pm

    Finally After all I have myself found the solution of to the problem:

    It’s very common problem that must have been faced by most of android developers….

    Recently, while developing an Android Application, I was faced with a situation that wasted 2 hours of my time. The issue was simple, my app was not able to access internet from the Android Emulator.

    Initially I thought fixing the issue should have been straight forward, but life is not always that simple.

    So what was the real issue because of which my app was not able to access internet? There are multiple reasons because of which this issue could occur. Hence, I decided to document my findings so that other could benefit from it.

    There are two main symptoms of no internet connection on android emulator…..
    **Only your app is not able to access the internet
    *
    *None of the apps are able to access the internet
    Lets look at what are the reasons behind each of them.

    Only your app is not able to access the internet

    If only your app is not able to access the internet on the emulator, check if any other apps are able to access the internet or not. For e.g. you could open up the browser application, visit http://news.google.com/. If the page opens up correctly then problem lies in your app itself and its simple to fix.

    Basically, your app needs the Permission to access the internet. This can be done by adding the following line just before the end of tag in AndroidManifest.xml file of your application.

    Compile and re-install the app in the emulator and try to access the internet from your app. It should work!

    What is the use of uses-permission tag:

    Android application can request certain permissions so that they can function properly. Some examples of permissions are, get users location, make a call, access the internet etc. App has to explicitly specify this in the AndroidManifest.xml.

    When end users install such an app on their device, the android OS will notify the user that, app is requesting certain permissions. If users are fine with that, then only the app will be installed. Else users can deny the permission and the app will not be installed.

    This mechanism is Androids way of implementing security and users privacy!

    This is the more tricky situation:
    None of the apps are able to access the internet

    Now this situation is tricky. There are two reasons because of which this could happen
    Proxy server is not configured on the emulator
    Incorrect DNS used by the emulator

    Setting Up the DNS Server:
    emulator.exe -avd ‘android1.6’ -dns-server 8.8.8.8

    The android1.6 is your avd name I created an avd with name android1.6

    So just replace android1.6 with your avd name.

    Run this code in command prompt after setting the path to tools & platform tools of your android sdk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a .NET app that calls 3rd party web services over the
I'm working on a rails app that has a whole bunch of before filters
While working in a Java app, I recently needed to assemble a comma-delimited list
First off, I'm working on an app that's written such that some of your
SO I'm working on a schedule app that uses a MySQL DB. One of
I'm working on a business app that requires that ALL database transactions be audited
While working on a vb.net application, in which exceptions were handled poorly. It was
I'm working with a PhoneGap app that uses Safari local storage (SQlite DB) via
I'm working with an MVC2 app that had migrated from an MVC1 app quite
So I have a little app I am working on that scrapes comics from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.