ANDROID compiles...
it takes so long to compile and run ANDROID apps in the emulator. Is there anyway to speed things up?
3 Answers
-
The Titanium build scripts dynamically generate Java source code for your application (not your full application, but parts of it). Because of this, we do need to recompile your project and recreate a Dalvik executable every time you make a code change. This causes a rather slow cycle of editing code, recompiling, and redeploying your application to a device or emulator (Make sure to keep your emulator running and just hit launch in Developer, so the emulator doesn't restart every time!).
We're working on ways to improve this, like potentially just copying JavaScript to the SD card, but haven't come up with anything sufficiently stable yet. It stinks though, and we know it stinks - we're definitely keen on finding a solution.
-
No problems… The only comment that I would make is that I get a lot of feedback saying that the emulator can be located.. and I think that slows down the process a lot. So I generally just Shut down the Emulator and Ti, between every compile. The iPHONE stuff works fine.
-
Has there been any movement on this in the last two months? As a new Ti developer, trial and error is a big part of the curve, but it takes so long to try…