News for hackers. Stuff that matters.
Re:Android Emulator – AMD Processor and Hyper-V Support by matchbok on Monday July 09, 2018 @03:24PM (#17492738)
Still doesn't solve the core problem with the Android emulator - performance. Android needs a "simulator", not an emulator running the entire stack. iOS handles this wonderfully.
Re:Android Emulator – AMD Processor and Hyper-V Support by mjg59 on Monday July 09, 2018 @03:43PM (#17492862)
The Android "emulator" is using an x86 build of Android. Running the entire stack will increase memory use but should have no real impact on performance. Given that many people are running the emulator on non-Linux kernels (and this story is explicitly about doing so on Windows), how would a simulator work?

(I work at Google, but not on Android)

Re:Android Emulator – AMD Processor and Hyper-V Support by basementcat on Monday July 09, 2018 @03:47PM (#17492885)
Perhaps it is time for an Android Subsystem for Windows that is analogous to the Linux Subsystem for Windows 10.
Re:Android Emulator – AMD Processor and Hyper-V Support by opencl on Monday July 09, 2018 @06:19PM (#17493871)
Microsoft already wrote most of one (project Astoria) and shipped it in some early W10M builds but scrapped it seemingly shortly before it was done.
Re:Android Emulator – AMD Processor and Hyper-V Support by ahartmetz on Monday July 09, 2018 @06:36PM (#17493966)
In another HN discussion somebody claimed that WSL was developed from the Android emulator. It makes so much sense that I don't want to doubt it ;)
Re:Android Emulator – AMD Processor and Hyper-V Support by Mic92 on Monday July 09, 2018 @03:57PM (#17492969)
The Linux subsystem is still slower then a Linux running in Hyper-V because of the Syscall overhead.
Re:Android Emulator – AMD Processor and Hyper-V Support by kllrnohj on Monday July 09, 2018 @03:40PM (#17492837)
Performance with HAXM has been fantastic for a while. So no, it doesn't need a simulator. It doesn't need that at all.

Android emulator has improved massively over the past few years, you might want to go take an actual look at it. Even has quite a few features missing from iOS's simulator, too, like camera scene emulation.

Re:Android Emulator – AMD Processor and Hyper-V Support by the_trapper on Monday July 09, 2018 @05:48PM (#17493721)
Honestly, I would say that with all of the recent improvements to the emulator over the past few years that Gradle is actually the sluggish, horrible part of the Android development experience. The emulator is actually pretty decent now.
Re:Android Emulator – AMD Processor and Hyper-V Support by bitmapbrother on Monday July 09, 2018 @04:26PM (#17493164)
>Still doesn't solve the core problem with the Android emulator - performance

When was the last time you used the emulator?

Re:Android Emulator – AMD Processor and Hyper-V Support by brokenmachine on Monday July 09, 2018 @09:38PM (#17494816)
I'm not OP, but I last used it a couple of years ago and it was pretty slow (I was using an i5-2500).

Has it improved markedly recently, and if so, how?

Re:Android Emulator – AMD Processor and Hyper-V Support by bitmapbrother on Saturday July 14, 2018 @04:58PM (#17532339)
It now uses Intel's HAXM on Windows to increase performance tremendously. It also allows for the saving of snapshots to launch the emulator almost instantly.
Re:Android Emulator – AMD Processor and Hyper-V Support by asasas2321323 on Tuesday July 10, 2018 @04:49AM (#17496347)
Android emulator on my Macbook eats 100% i5-7560 CPU, drain battery in a hour and scroll with touchpad does not work
Re:Android Emulator – AMD Processor and Hyper-V Support by Mic92 on Monday July 09, 2018 @04:00PM (#17492984)
A simulator may have some advantages with respect to I/O and a bit less RAM. CPU-wise it should not make a big difference.

There is also anbox that should be close to what a simulator would be: https://anbox.io/