News for hackers. Stuff that matters.
Re:Android Studio 4.0 by mook on Friday May 29, 2020 @12:05AM (#23346160)
With WSL2 being a full(-ish) VM, running Android on a Linux base might be interesting (especially when using a Linux host, see the other anbox comment). Not sure how to deal with macOS though.

And yeah, as of Android Studio 3.x (was waiting for the official 4.0 release), it was trying to nudge towards using the Google Play Services images pretty hard.

Re:Android Studio 4.0 by izacus on Friday May 29, 2020 @02:58AM (#23347006)
> With WSL2 being a full(-ish) VM, running Android on a Linux base might be interesting (especially when using a Linux host, see the other anbox comment). Not sure how to deal with macOS though.

But this is pretty much what Android Emulator is - a fullish VM on a Linux base.

Re:Android Studio 4.0 by 2ion on Friday May 29, 2020 @04:24AM (#23347602)
Yes, but that's different in that it's x86 on x86 so you can use hardware paravirtualization features for maximum performance (through HyperV). ARM on x86 can't use hardware virtualization features, you have to run it all in software, which is why it's slow. Big value in getting rid of the architecture mismatch.
Re:Android Studio 4.0 by izacus on Friday May 29, 2020 @04:51AM (#23347778)
Android Emulator has been (by default) x86 for years now and it's using both hardware paravirtualization and even OpenGL passthrough.
Re:Android Studio 4.0 by dtech on Friday May 29, 2020 @03:45AM (#23347309)
I thought WSL was a compatibility layer similar to Wine, not a full VM?
Re:Android Studio 4.0 by moooo99 on Friday May 29, 2020 @04:47AM (#23347755)
The original WSL(1) was. However, the new version, WSL2, brings a lot of architecture changes. Now its basically a virtualized Linux running in Hyper-V. The nice thing about that new architecture is that now applications like Docker can use WSL2 to run the containers which was not possible with previous versions.
Re:Android Studio 4.0 by Osiris on Friday May 29, 2020 @04:37AM (#23347683)
WSL1 was a translation layer. WSL2 is a VM.