简体   繁体   中英

how should I run android in a linux container (lxc)?

I'd like to test android apps on my system without a slow emulator.

Is it possible to run android in another linux host, like gentoo or ubuntu?
How would one acomplish this, maybe trough docker?
In case of gentoo, are there specific kernel modules I need to enable?

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/

and here: https://wiki.ubuntu.com/Touch/ContainerArchitecture

It should be possible to run x86 Android natively inside a container. At the end of the day Android also runs on x86 devices such as the Nexus Player.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM