Titanium Community Questions & Answer Archive

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

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

I am facing problem while launching HelloWorld application.

I am using Titanium Developer 1.2.1, Titanium SDK version 1.4.0, Android SDK APIs 1.6, App type: Mobile

Stacktrace:

[INFO] Launching Android emulator…one moment

[DEBUG] From: C:\android-sdk\tools\emulator.exe

[DEBUG] SDCard: C:\Documents and Settings\vbhatt\.titanium\android2.sdcard

[DEBUG] AVD ID: 2

[DEBUG] AVD Skin: WVGA854

[DEBUG] SDK: C:\android-sdk

[DEBUG] C:\android-sdk\tools\adb.exe start-server

[DEBUG] C:\android-sdk\tools\emulator.exe -avd titanium_2_WVGA854 -port 5560 -sdcard C:\Documents and Settings\vbhatt\.titanium\android2.sdcard -logcat ':d ' -no-boot-anim -partition-size 128

[TRACE] bind: Permission denied

[TRACE] it seems too many emulator instances are running on this machine. Aborting

[TRACE] emulator: WARNING: 8: missing expected assignment operator (=). line ignored

[TRACE] emulator: WARNING: 4: key name doesn't start with valid character. line ignored

[INFO] Android Emulator has exited

[INFO] Building HelloWorld for Android … one moment

[DEBUG] C:\android-sdk\tools\adb.exe start-server

[DEBUG] Waiting for device to be ready …

[TRACE] adb devices returned 0 devices/emulators

[TRACE] adb devices returned 0 devices/emulators

[TRACE] adb devices returned 0 devices/emulators

[TRACE] adb devices returned 0 devices/emulators

[TRACE] adb devices returned 0 devices/emulators

[TRACE] adb devices returned 0 devices/emulators

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

I have also tried several times as suggested for similar bug:

  1. exit titanium developer,

  2. ran commands adb kill-server (wait for 10-15 seconds),

  3. then adb devices

but not able to launch HelloWorld.

Please suggest a solution

Thanks in advance.

— asked October 19th 2010 by Vipul Kishor Bhatt
  • denied
  • emulator
  • mobile
  • permission
  • timeout
2 Comments
  • If the emulator is up and running I would issue adb kill-server followed by adb start-server, that usually reconnects Ti to it for me.

    — commented October 19th 2010 by Alan Bourke
  • it works :) thx a lot

    — commented August 29th 2012 by Muhammad Mahmoud ElTaweel

1 Answer

  • You can try to start the android sdk control pannel and in the virtual device list remove all the virtual devices and rerun titanium.

    — answered October 19th 2010 by Fabiano Taioli
    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.