Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Timed out waiting for emulator to be ready, why?

I get this error:

[ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again

When I try and launch the Android emulator, it can take 10 attempts then it will work and carry on working, it just seems to take half my life to get it started!

Anyone come across this before?

It often comes up before I even get past the text Android logo / black screen.

Doesn't seem to happen if I get as far as the locked screen and never seems to happen if I have swiped or pressed menu on the locked screen to unlock it. But I often don't get even that far!

Very frustrating, your help appreciated. I'm out of ideas. Yes I have re-installed and updated the Android SDK.

— asked July 22nd 2010 by Stephen Page
  • android
  • emulator
  • timeout
0 Comments

10 Answers

  • Accepted Answer

    If this happens, let the emulator start up and unlock the screen. Once the emulator is started up and ready, hit "Launch App" in Titanium Developer to relaunch your application to the running emulator. Unlike iPhone, you can leave the Android emulator running while you edit code, and then just hit the "launch" button in Developer to deploy your changes. This is quite a bit faster, because as you noted the Android emulator can take a while to start up.

    — answered July 22nd 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Happens to me all the time. As a time-saver I kill the adb.exe process and try again - this usually works.

    — answered July 22nd 2010 by Vinh Bui
    permalink
    4 Comments
    • Thanks for this remark. I had the same problem on Mac: Cmd + Q on the emulator would not solve it, but a Forced Quit did!

      — commented July 26th 2010 by Pieter Kubben
    • I am confirming that on Windows 7, killing the adb.exe process defiitely helped.

      — commented August 18th 2010 by Mark Hale
    • Same problem here, tried to kill the process, tried to change emulator settings, but none worked, the emulator just not show off.

      — commented August 25th 2010 by Diego Potapczuk
    • Thanks, I had the same problem on Windows 7 Home Premium, worked like a charm. I think the problem might have started when I didn't close the emulator correctly because I had forgotten to install Java, and the emulator may have been running. Not sure, but whatever caused it, this definitely helped.

      — commented November 28th 2010 by Kevin Albertson
  • Found the problem, the android tool creates the AVD in the E:\.android when it should be in C:\Documents and Settings\{user}\.android

    Hope it helps

    — answered August 25th 2010 by Diego Potapczuk
    permalink
    1 Comment
    • Found a fix, create a global environment variable called ANDROID_SDK_HOME and set it to C:\Documents and Settings\{user}

      Ir Worked for me, you can check in the android AVD tool where it show in which directory it is looking for AVDs.

      — commented August 25th 2010 by Diego Potapczuk
  • If you are on MAC OS X and the emulator will not run, check your Mac Firewall, turned mine off and it loaded no problem.

    — answered November 2nd 2010 by Bryan Sloan
    permalink
    0 Comments
  • I have the same problem, on Kubuntu 10.10. Posibily because I'm under 512Mb RAM ??

    — answered December 27th 2010 by Endika Garcia
    permalink
    0 Comments
  • Same problem here all the time. It seems Titanium framework is definitely not made to be used on Linux …

    — answered January 13th 2011 by Nicolas GRESSARD
    permalink
    0 Comments
  • I removed all virtual devices in the android manager.
    But I can't still solve this problem..

    — answered February 14th 2011 by Kiminari Homma
    permalink
    0 Comments
  • So am i the newest one who wants to develop an application and i get the same error for a few days i have all setting configured right and did the above suggested methods. Result is non. Does anyone have an exact solution to the problem ?

    — answered July 12th 2011 by burhan cerit
    permalink
    0 Comments
  • I had the same problem when i want to run Drupanium_app https://github.com/drupanium/drupanium_app
    The problem no longer occurs in when I checked option "Mobile web(beta)" in project settings (tiapp.xml).

    — answered February 16th 2012 by Grzegorz Bartman
    permalink
    0 Comments
  • Not as brutal as killing processes, but still a little annoying, open your AVD manage (I used Eclipse to get to mine) and delete your listed devices EXCEPT the one Titanium generates automatically and then try to launch again from the Titanium developer.

    Fixed things nicely for me in terms of an emulator error, but now I get a "[ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk" error.

    Moving to the next level of debugging.

    — answered October 27th 2010 by Chris Dixon
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.