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?
5 Answers
-
Maybe try delete your old build files and force a rebuild.
-
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.
-
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?
-
@Jeff click on Info. It's really a combo box / selector
-
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:161Thanks…. :)