The Emulator doesn't start...

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Re: The Emulator doesn't start...

Postby hemant kshirsagar » Wed Sep 22, 2010 3:08 pm

hi,

this is Hemant,

I am running Ganymede eclipse, and have sdk of 2.2 and 2.1 installed, i have tried the above tricks but the emulator does not runs the "windowed app" but only the Andriod....

Kindly help me for the same.

Regards,

Hemant Kshirsagar
hemant kshirsagar
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Sep 22, 2010 3:05 pm

Top

Re: The Emulator doesn't start...

Postby t0mm13b » Thu Oct 14, 2010 12:53 pm

I have found this to be the most helpful tip in relation to android, am a n00b too, despite coming from strong C,C++, C# background, as this is my first foray into Android (hi all \o/), disable AV on demand scanning in those directories:
    Android images for the emulator (usually C:\Documents and Settings\Users\.android
    Eclipse folder
    Android SDK folder

All of them can significantly speed it up, as I am using a Netbook Atom N270, it can usually hold it up (have pushed this to the limits, even VM's...) but the emulator nearly broke the camel's back, so when I disabled the AV realtime on demand scanning in those directories, the emulator's speed increased significantly, and now the netbook is able to handle it without bringing it down to its knees....
:D
t0mm13b
Freshman
Freshman
 
Posts: 2
Joined: Wed Oct 13, 2010 9:43 pm

Re: The Emulator doesn't start...

Postby adameve24 » Thu Dec 16, 2010 3:49 pm

sdutil format <mount path> formats sdcard at given mount point

i want to ask wats this mount path and mount point ?
i m using ubuntu 9.04 and android source code.
adameve24
Developer
Developer
 
Posts: 29
Joined: Wed Dec 15, 2010 12:32 pm

Re: The Emulator doesn't start...

Postby tah_206207 » Sun Jan 16, 2011 10:47 pm

hello i have problem with emulator in my computer. emulator starts but don't show hello world app in emulator and don't show android desktop and show black screen with android... text
my computer features : cpu 2ghz celeron ram 512+256
show this message in eclipse
Code: Select all
[2011-01-17 01:05:47 - HelloAndroidWorld] adb is running normally.
[2011-01-17 01:05:47 - HelloAndroidWorld] Performing com.taher.android.HelloTaherAndroidWorld activity launch
[2011-01-17 01:05:48 - HelloAndroidWorld] Automatic Target Mode: launching new emulator with compatible AVD 'myavd'
[2011-01-17 01:05:48 - HelloAndroidWorld] Launching a new emulator with Virtual Device 'myavd'
[2011-01-17 01:05:53 - HelloAndroidWorld] New emulator found: emulator-5554
[2011-01-17 01:05:53 - HelloAndroidWorld] Waiting for HOME ('android.process.acore') to be launched...
[2011-01-17 01:07:12 - HelloAndroidWorld] emulator-5554 disconnected! Cancelling 'com.taher.android.HelloTaherAndroidWorld activity launch'!


please help me :D
thx
tah_206207
Freshman
Freshman
 
Posts: 2
Joined: Sun Jan 16, 2011 10:39 pm

Re: The Emulator doesn't start...

Postby tah_206207 » Mon Jan 17, 2011 12:01 pm

can every one help me?
tah_206207
Freshman
Freshman
 
Posts: 2
Joined: Sun Jan 16, 2011 10:39 pm

Re: The Emulator doesn't start...

Postby jdrefahl » Wed Mar 02, 2011 6:29 pm

Go back to Eclipse: http://www.eclipse.org/downloads/ and download 3.6.2 otherwise you are going to keep running into issues.
John Drefahl
Massive Media / Soundclash Media
"Changing the world, one app at a time"
http://www.twitter.com/johnsin
User avatar
jdrefahl
Junior Developer
Junior Developer
 
Posts: 15
Joined: Wed Mar 02, 2011 6:06 pm
Location: San Francisco

Top

Re: The Emulator doesn't start...

Postby tushaarv » Wed Mar 09, 2011 1:32 pm

I recentaly upgraded to Android 3.0 (Honeycomb). Everything worked fine intially excet the emulator was slow. Somehow my emulator is not working anymore.When app is run the emulator.exe crashes before it is started. Following error is displayed in console
[2011-03-08 19:15:12 - Emulator] [2011-03-08 19:15:12 - Emulator] This application has requested the Runtime to terminate it in an unusual way. [2011-03-08 19:15:12 - Emulator] Please contact the application's support team fo

Any help is appriciated..
tushaarv
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Feb 02, 2011 12:25 pm

Re: The Emulator doesn't start...

Postby GunNam » Wed Mar 30, 2011 7:05 am

Okay, so I have been able to run the Hello, World application exactly twice in a span of 12 hours (Trying repeatedly within in that time). This time I captured the error (which I believe is the culprit, but I'm too newb to diagnose and repair). Please refer to the last console message below:

[2011-03-29 22:59:27 - HelloAndroid] ------------------------------
[2011-03-29 22:59:27 - HelloAndroid] Android Launch!
[2011-03-29 22:59:27 - HelloAndroid] adb is running normally.
[2011-03-29 22:59:27 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-03-29 22:59:27 - HelloAndroid] Automatic Target Mode: Preferred AVD 'My_AVD' is not available. Launching new emulator.
[2011-03-29 22:59:27 - HelloAndroid] Launching a new emulator with Virtual Device 'My_AVD'
[2011-03-29 22:59:29 - HelloAndroid] New emulator found: emulator-5554
[2011-03-29 22:59:29 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
[2011-03-29 23:00:11 - HelloAndroid] WARNING: Application does not specify an API level requirement!
[2011-03-29 23:00:11 - HelloAndroid] Device API version is 8 (Android 2.2)
[2011-03-29 23:00:11 - HelloAndroid] HOME is up on device 'emulator-5554'
[2011-03-29 23:00:11 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'
[2011-03-29 23:00:11 - HelloAndroid] Installing HelloAndroid.apk...
[2011-03-29 23:00:21 - HelloAndroid] Success!
[2011-03-29 23:00:21 - HelloAndroid] Starting activity com.example.helloandroid.HelloAndroid on device emulator-5554
[2011-03-29 23:00:26 - HelloAndroid] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.helloandroid/.HelloAndroid }
[2011-03-29 23:01:01 - Emulator] emulator: ../../src/xcb_io.c:249: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.

This "Assertion" error is the same error I receive if I try to start my AVD by itself in the SDK & AVD Manager.

Any idea how I can fix this?
My system:
i7-2600 @ 3.40 GHz
Ubuntu 10.10 (maverick)
GunNam
Freshman
Freshman
 
Posts: 5
Joined: Sat Mar 26, 2011 2:24 am

Re: The Emulator doesn't start...

Postby GunNam » Wed Mar 30, 2011 1:02 pm

I did the following:
chmod +x ddms

I got rid of the above message, but now it's been over 10 minutes and my emulator window still hasn't popped up. It's hanging at:
ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.helloandroid/.HelloAndroid }
My system:
i7-2600 @ 3.40 GHz
Ubuntu 10.10 (maverick)
GunNam
Freshman
Freshman
 
Posts: 5
Joined: Sat Mar 26, 2011 2:24 am

Re: The Emulator doesn't start...

Postby GunNam » Wed Mar 30, 2011 9:53 pm

After I did the above, I killed the "emulator" in the System Monitor (Ubuntu) , then ran HelloAndroid again and it works!!

I don't know why I have to kill the emulator first to get it to run, but at this point, it's something I'm willing to work with. Hope this helps anyone having the same problem.
My system:
i7-2600 @ 3.40 GHz
Ubuntu 10.10 (maverick)
GunNam
Freshman
Freshman
 
Posts: 5
Joined: Sat Mar 26, 2011 2:24 am

Re: The Emulator doesn't start...

Postby jane43 » Tue Jul 12, 2011 9:33 am

The emulators were taken off the market were they not? Try downloading them again (not via the market), search for yongzh on google and you should find them (yongzh is the name of the guy who develops them).
jane43
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Jul 12, 2011 9:29 am

Re: The Emulator doesn't start...

Postby wiliamsmith4444 » Sat Jul 16, 2011 5:48 pm

I think that the emulator needs a lot of ressources which are not provided. I still have an old Pentium 4, 1GB Ram, 1.8Ghz and I have huge problems to run the emulator the first time (after starting Eclipse). I had to retry it 3 or 4 times to get it running, but "refreshing" a running application seems to be no problem.
wiliamsmith4444
Junior Developer
Junior Developer
 
Posts: 10
Joined: Sat Jul 16, 2011 5:00 pm

Re: The Emulator doesn't start...

Postby anniedulce » Tue Apr 10, 2012 12:33 pm

ankita wrote:Hi,
I am new in Android.
I have downloaded the Eclipse 3.4 and Integrate with ADT and Android SDK r06.
But Problem is that My Simulator is not working,
It opens Properly but screen Shows only "ANDROID.."
What should i do.
please help.



The App is not properly installed i think some files are missing. Ones Re-tray
Rizecorp Android Development, Android Mobile Apps
anniedulce
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Mon Mar 05, 2012 12:28 pm

Re: The Emulator doesn't start...

Postby mpmbugua » Mon Oct 15, 2012 1:11 pm

Ankita, did you get a solution for this, I am stuck here too, pls someone help
mpmbugua
Freshman
Freshman
 
Posts: 3
Joined: Mon Oct 15, 2012 12:24 pm

Re: The Emulator doesn't start...

Postby Jack Hard » Sat Mar 16, 2013 4:53 am

0.5mByte are running on a machine that is probably too small, but I had to deal with work.
I use Eclipse Ganymede Android + Windows XP 1.5_R2

I think the problem is too little physical memory - as great emulator and Eclipse.

So to make things work - reboot
I want all unnecessary programs are closed (so basically only works Norton + Skype)

I run "ADB Logcat", then run the program in Eclipse (no service), then wait.
You can also start the task monitor to see what you're doing two shows% CPU usage and the size of the virtual machine.

Then wait (and wait and wait) Logcat screen control - if it works, it's good - if not eliminate emulator and try again. Most of the time the application will not start without pressing the menu button. You must click OK to the error messages that begin with AlarmClock. Then it should work!

I am not able to work on large machinery at the end of June.
To see how this affects
Jack Hard
Junior Developer
Junior Developer
 
Posts: 11
Joined: Fri Dec 07, 2012 5:36 am
Location: Ahamedabad(Gujarat)

Top
PreviousNext

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 7 guests