6 ms·
It's been a few years since I dared run the official emulator, and I used to have an underpowered computer for development, but last time it took about 10 minut
by cryptoz 12y ago
It's been a few years since I dared run the official emulator, and I used to have an underpowered computer for development, but last time it took about 10 minutes to boot Android and another 2-3 minutes to open an app.
I presume it's been improved since then and runs nicer on better hardware, but my first impulse is that speed is a huge concern in Android emulation. Convenience only matters if speed is solved, but then it becomes huge.
- umsm 12y agoI don't know if anything changed within the past 2 years, but I had a high-end system 2.5 years ago where the emulator was just as slow as you describe it.
- IgorPartola 12y agoIt's still dog slow on a high end MacBook Pro (2012 model).
- vamur 12y agoThe official emulator is so slow it's a joke. Genymotion or Intel HAXM are a bit better but the whole process is clunky. Once Google introduces Android runtime to Chrome, developing for Android should become much easier.
- srcmap 12y agoAre you talking about ChromeOS? I think ChromeOS is not good enough as dev machine. Almost all of them have very limit amount of ram and disk. Dev system needs at lease able to run eclipse or android studio + emulator + adb at the same time.
- ecspike 12y agoA Chromebook Pixel is. It's doable if you are ok with command-line and building/deploying to a device using gradle. Admittedly there are few on the market.
- echeese 12y agoIt's a lot better now with HAXM, and host gpu support. Just timed starting up a fresh instance, unlocking it and starting Maps. This is starting from when I clicked launch in AVD manager on a mid-range laptop from 2011 1:25 emulator showed up 1:53 until lock screen 1:61 until maps loaded
- ingve 12y agoI'm running Eclipse and the emulator on a 4 year old Mac Pro. Initial startup time for the emulator is about 20 seconds, but after that first hit has been absorbed, it generally takes about 8-10 seconds whenever I run a new build of the app I'm developing. (This is with HAXM [0] enabled. Still far too slow, so pretty much everybody does their development on actual Android devices, but far from the times reported in this thread.) [0] https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager https://software.intel.com/en-us/android/articles/intel-hard...
- fsiefken 12y agointel android on virtualbox runs good enough for testing on a fast machine.
- passfree 12y agoThe Android emulator is terrible. It is one of those things that will speed up Android adoption if made better. iOS simulator is so much nicer to work with.
- dozy 12y agoHey Android developer here. I used to have the same issue - even on a fantastic machine the emulator would run very slowly, or not at all. This is now completely different You no longer have to emulate ARM. You can run the native x86 image, using GPU acceleration, and the thing screams. I can get multiple high resolution emulators running in parallel without issue. I'm still used to debugging every single compile on an actual device having been through years of slow emulation, but let me tell you that the environment is quite different now. Genymotion is even better, but not by much with regards to performance.
- tokenizerrr 12y agoThe last time I worked on Android (which was about 6-12 months ago) I tried to get the x86 image working on my laptop, but it apparently requires an intel processor[1]. Do you happen to be aware of any speedups for AMD processors? [1]: https://developer.android.com/tools/devices/emulator.html#vm-windows https://developer.android.com/tools/devices/emulator.html#vm...
- mappu 12y ago>The software requires an Intel CPU with Virtualization Technology (VT) support Surely by "Intel" they mean "x86-compatible"? Many AMD cpus have the necessary VT-x, you shouldn't have any trouble here.
- Veratyr 12y agoAMD processors don't have VT-x, it's an Intel specific feature. AMD has their own equivalent, called AMD-V. You can have a look at one of their top CPUs if you're in doubt: http://www.amd.com/en-us/products/server/opteron/6000/6300 http://www.amd.com/en-us/products/server/opteron/6000/6300 When they say Intel they mean Intel unfortunately.
- dozy 12y agoTry out Genymotion, I think that's your best bet for AMD.
- 12y ago
- ryanmarsh 12y agoThis. I tried to develop for Android once. Went groveling back to Xcode, apologizing for cursing its many flaws.
- byuu 12y agoSurely the Chrome extension is also an emulator, albeit a much faster one. Just seems like a large opportunity to create and sell the Parallels equivalent for Android, given the buzz this seems to be creating. Edit: looks like that is done by Bluestacks and Genymotion. So I guess this is just about the novelty of the hack.
- duaneb 12y agoDalvik apps should run natively unmodified. No need for an emulator at all.
- thegeomaster 12y agoThis is why I loved developing for Firefox OS. Their simulator is really just Gecko inside a smaller window and with simulated touch events. You could do some amazing things, such as live-inspect DOM on a connected device and treat it as if it were a local webpage. And now the WebIDE built into Firefox seems to be even more pleasant. I even used to sometimes test the app in my Firefox browser, without bothering to connect a device or fire up the simulator. It was super-speedy. I'm so sad Firefox OS is probably never going to properly take off. I use Android and like it very much, but development for it is a literal nightmare.
- q_revert 12y agoAnother vote for firefox OS here, I definitely think they're making a better effort than most in this space. The fact that firefox is targeting entry level devices in a serious way is another positive for me. I've been using a ZTE open as my primary device, and although the hardware is absolutely awful, I've managed to get by, mostly just because of a sentimental attachment to firefox. I agree it's somewhat unlikely to be too successful, but I definitely think they're at least aiming in the right direction.