Tricks to using the Android Emulator?

You must Login before you can answer or comment on any questions.

Trying to test on the Android emulator with Titanium Studio is making me want to jump out the window. Does anybody have any tricks to making it actually work?

I find myself constantly having to reboot titanium, shut down the emulator, remove the app from the emulator, do a full clean and everything else. I never quite know for sure if I'm looking at current code or not, I get tricked into seeing old code sometimes as if the previous build is stuck on the emulator?

The iPhone emulator is so smooth, even does live refreshing as code changes are made. The Android experience is horrid. I've literally wasted 4 hours today just trying to make a few tiny updates on an app. So frustrating! There has to be some trick to it, please help!?

— asked 9 months ago by Jake Jake
0 Comments

1 Answer

The trick to the emulator is to not use the emulator.

If you can, build to a device. Compile time is the same, push to the device is the same as to the emulator, and it just plain works.

If thats not possible, use snapshots. Should save you a few restarts.

— answered 9 months ago by Stephen Feather
answer permalink
3 Comments
  • and the iOS is a simulator.

    The Android emulator is a virtual machine, like vmware or parallels

    — commented 9 months ago by Stephen Feather

  • such a bummer not having a debugger. it's so weird because it works some of the time then it just seems to go haywire

    — commented 9 months ago by Jake Jake

  • I know, on device debugging is in process. I don't have JIRA ticket handy, but you should be able to find it, watch it.

    It is the instability that drives me nuts. Actually, in 2 years, the android emulator is the only app to crash my MAC and it has done so repeatedly.

    — commented 9 months ago by Stephen Feather

Your Answer

Think you can help? Login to answer this question!