Hacker News new | ask | show | jobs
by fareesh 1623 days ago
For development work I use the default Android emulator that comes with Android Studio.

Are any of these ones superior in terms of performance, resource utilization, etc? The cloud angle is mildly interesting although in my specific use-case I'd probably just end up paying for a service that can provide access to emulators in the cloud.

Is there more scope to do things like automating inputs etc this way? How would one go about that?

2 comments

This one specifically seems to run Android in the Linux Kernel using the usual suspects of container tech. It should have next to zero performance impact so it will definitely have better performance compared to the default Android emulator considering that's using qemu, even if it's qemu-kvm.

Whether it's as reliable as running a VM, is something that'll need to be tested. Personally I got an error when trying to exit out of the shell (and thus was unable to exit), something I've never seen in the VM version of Android.

Sounds like QEMU doing that. QEMU has a command mode - ctrl+A followed by X should kill it.
This isn't running on QEMU.
Did you try

  :q!

?
> Is there more scope to do things like automating inputs etc this way? How would one go about that?

adb or UIAutomator

For tips on how to control the Android Emulator from the outside with adb, see https://stackoverflow.com/questions/7789826/adb-shell-input-...