Titanium Community Questions & Answer Archive

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

Titanium emulator issue

When I use the emulator I click the launch button and it in the window it just pauses on:

[INFO] Compiling JavaScript…one moment
[INFO] No JavaScript errors detected.

I have to hit stop then launch it again to get it to work. This started happening with the 1.2.0 install this morning. any ideas on how to fix this?

— asked April 6th 2010 by Jeffrey Messick
  • emulator
  • launching
0 Comments

5 Answers

  • Maybe try delete your old build files and force a rebuild.

    — answered April 6th 2010 by William Xue
    permalink
    0 Comments
  • Jeff, when that happens set your Log level to Trace, it in the lower tool area. It's very common for apps not to get installed while the emulator is booting. It's best just to wait until you can access the home screen and then press launch again in Developer. With Android, there is no need to restart the emulator between builds.

    If you still have a problem. Paste the output from the second launch app into a pastie and drop that link into your reply. You might want to check out the correct formatting syntax link above the edit window. That way you can put your link as a hyperlink.

    — answered April 6th 2010 by Don Thorp
    permalink
    0 Comments
  • I was just prompted to install 1.2.1, once I did I was able to see the trace. It is syntax errors. It wasn't showing these errors prior to 1.2.1.

    Thanks for the help Don.

    btw - I didn't see a trace option in the drop down?

    — answered April 7th 2010 by Jeffrey Messick
    permalink
    0 Comments
  • @Jeff click on Info. It's really a combo box / selector

    — answered April 7th 2010 by Don Thorp
    permalink
    0 Comments
  • ok, it appears that I have some syntax errors in one js file. Just what is weird is that It never showed up until I updated to TD 1.2.1. I have seen the option in the drop down, just never said anything about the warn messages before.

    I am in the process of fixing these.

    [WARN] JavaScript compiler reported "Be careful when making functions within a loop. Consider putting the function in a closure." at main_windows/your_list.js:141
    [WARN] JavaScript compiler reported "Be careful when making functions within a loop. Consider putting the function in a closure." at main_windows/your_list.js:161

    Thanks…. :)

    — answered April 7th 2010 by Jeffrey Messick
    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.