How should I run Android in a Linux container (lxc)?… here is a solution to the problem.
How should I run Android in a Linux container (lxc)?
I want to test the Android app on my system without a slow emulator.
Is it possible to run Android on another Linux host, such as Gentoo or Ubuntu?
How to accomplish this task, perhaps through docker?
If it’s Gentoo, do I need to enable specific kernel modules?
Solution
Ubuntu Touch runs Android inside a container. You can run Arm Android on x86, see here
https://www.stgraber.org/2013/12/23/lxc-1-0-some-more-advanced-container-usage/
Over here:
https://wiki.ubuntu.com/Touch/ContainerArchitecture
It should be possible to run x86 Android natively inside the container. Finally, Android can also run on x86 devices such as the Nexus Player.