DEV Community

Discussion on: Build a Lightweight Docker Container For Android Testing

Collapse
 
basilbc2000 profile image
basilbc2000

Tried this in my mac air laptop (early 2014) and is stuck at emulator error. Will this setup work in a laptop ?. What other stuff do i need in the container (KVM etc ?) to make it work ?

~$docker run --privileged -it 67d6089da088 bash -c ". /start.sh"
Ubuntu 18.04.4 LTS \n \l

  • daemon not running; starting now at tcp:5037
  • daemon started successfully emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure KVM is properly installed and usable. CPU acceleration status: KVM requires a CPU that supports vmx or svm More info on configuring VM acceleration on Linux: developer.android.com/studio/run/e... General information on acceleration: developer.android.com/studio/run/e....
Collapse
 
zaphodikus profile image
Conrad Braam🤖

You will need to do this under virtualbox. I dont have a mac, but it can be made to work, a colegue has it set up to run I believe.