How to reduce your Titanium Android build/install/test cycle

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

I recently had to use Appcelerator’s updated Google Maps module for a project which, if you read the documentation “Only works on Android devices. Not supported on the Android emulator.”

Which means that you can no longer user the Emulator to test your project and have to go through the long compile and installation cycle to install it on your device.

Luckily there is a way to avoid the long boot cycle and get a faster emulator at the same time (Since, let’s be honest, the standard Android emulator is *painfully* slow).

You need to install GenyMotion which will give you a blindingly quick Anrdoid install (Much quicker than my actual device in fact) and in our tests reduced the compile and installation cycle from 60 seconds to 35 seconds.

Big thanks to Joseph Burger CTO of Labor Sync for providing the detailed instructions of exactly how to set up in the accepted answer on this page:

Go there and run through the steps, it won’t take long and will save you a lot of time and stress in the long run.

It’s currently free but I wouldn’t be surprised if they start charging at some point so enjoy it while you can.

About Phil Smithson

Ultrarunner & CTO. Passions include Mobile app development, Scrum, Kanban, Wordpress and Symfony.

One thought on “How to reduce your Titanium Android build/install/test cycle

  1. […] emulator is so slow instead of using android emulator use genymotion but if you want to use android emulator run this command to your terminal or cmd titanium config […]

Leave a Reply

Your email address will not be published. Required fields are marked *