Vitamin C
Lost but trying
Profile
Posts: 12
Reg: Apr 05, 2012
location unknow...
120
04/07/12 12:43 PM (13 years ago)

Eclipse: Downloading, This should only take a moment + 'Warning: No DNS servers found'

Greetings, I created a small quiz-app for testing purposes (just to see if it'll work in the emulator). There are no compiling errors, and when I "run as >> android application" in Eclipse , the screen stays stuck at the "Downloading, this should only take a moment" (in the emulator). I've waited for over an hour to no avail. Plus playing around, searching around Google (to no avail). In Eclipse my console statements are [2012-04-08 00:56:05 - v1_4.buzztouch] ------------------------------ [2012-04-08 00:56:05 - v1_4.buzztouch] Android Launch! [2012-04-08 00:56:05 - v1_4.buzztouch] adb is running normally. [2012-04-08 00:56:05 - v1_4.buzztouch] Performing com.v1_4.testquizapp2.com.Act_Home activity launch [2012-04-08 00:56:05 - v1_4.buzztouch] Automatic Target Mode: launching new emulator with compatible AVD 'Buzztouch_v1.4' [2012-04-08 00:56:05 - v1_4.buzztouch] Launching a new emulator with Virtual Device 'Buzztouch_v1.4' [2012-04-08 00:56:08 - Emulator] Warning: No DNS servers found [2012-04-08 00:56:11 - v1_4.buzztouch] New emulator found: emulator-5554 [2012-04-08 00:56:11 - v1_4.buzztouch] Waiting for HOME ('android.process.acore') to be launched... [2012-04-08 00:56:32 - v1_4.buzztouch] HOME is up on device 'emulator-5554' [2012-04-08 00:56:32 - v1_4.buzztouch] Uploading v1_4.buzztouch.apk onto device 'emulator-5554' [2012-04-08 00:56:34 - v1_4.buzztouch] Installing v1_4.buzztouch.apk... [2012-04-08 00:56:45 - v1_4.buzztouch] Success! [2012-04-08 00:56:45 - v1_4.buzztouch] Starting activity com.v1_4.testquizapp2.com.Act_Home on device emulator-5554 [2012-04-08 00:56:50 - v1_4.buzztouch] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.v1_4.testquizapp2.com/.Act_Home } Is the problem "[2012-04-08 00:56:08 - Emulator] Warning: No DNS servers found"? And if so, how do I fix this? This is an "vers. 1.4" app. And in AVD Manager, I'm at Platform 1.6, with API level 4. Target Name: Google APIs (Google INC.) I've gotten this far due to the "How To's" section. But this problem is giving me a headache. Does anyone have an idea how to fix this?
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
04/07/12 02:07 PM (13 years ago)
Does this help? http://stackoverflow.com/questions/2039964/how-to-connect-android-emulator-to-the-internet From what you've posted, everything seems to be set up fine and running ok except it's not connecting to the internet, so it could be your lan settings. Take a look at the link and see if it helps.
 
Vitamin C
Lost but trying
Profile
Posts: 12
Reg: Apr 05, 2012
location unknow...
120
like
04/07/12 02:17 PM (13 years ago)
@raveyd It seems everyone on the SOF thread wants to get onto their wifi, not their LAN. I'm at a university and behind a proxy; a LAN connection is all I have. After checking, all my DNS servers look something like: fec0:0: (etc)... Yes, I think if I can connect to the net, it might work, but no luck so far...
 
Vitamin C
Lost but trying
Profile
Posts: 12
Reg: Apr 05, 2012
location unknow...
120
like
04/07/12 02:42 PM (13 years ago)
@raveyd Just to clarify, I can connect to the Net from the emulator's browser (Reuters, CNN, whatever)... It's just that I keep getting the same "Warning: No DNS servers found" error, and the "Downloading, This should only take a minute" screen never leaves...
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
04/07/12 02:49 PM (13 years ago)
Before you get too involved in solving this problem you should test on a device. Fred
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
04/07/12 02:54 PM (13 years ago)
Agree with Fred. I would think it's the Uni proxy server causing the problems, blocking the url? data transfer?
 
Vitamin C
Lost but trying
Profile
Posts: 12
Reg: Apr 05, 2012
location unknow...
120
like
04/07/12 11:15 PM (13 years ago)
Thank you for the advice.
 
Vitamin C
Lost but trying
Profile
Posts: 12
Reg: Apr 05, 2012
location unknow...
120
like
04/08/12 02:04 AM (13 years ago)
Solution: There problem was resolved when using an v1.5 instead of v1.4
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.