agoda-com / agoda-com/docker-emulator-android

Cloud provider

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
257
Forks
64
PR merge metrics
No merged PRs in 30d

Description

Great project!

For a research project I need to run multiple android emulators in the cloud. So far, I tried to set it up on
- AWS EC2
- using this container on an Ubuntu host
- did not work because the emulator needs hardware acceleration
```
emulator: CPU Acceleration: DISABLED
emulator: CPU Acceleration status: Could not open /dev/kvm : Is a directory
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure KVM is properly installed and usable.
CPU acceleration status: Could not open /dev/kvm : Is a directory
```
- paperspace
- I installed Android studio on a Windows host, since they have nested virtualization as an option if you contact support
- it was very unstable and the machine always hangs itself up completely when I start the emulator.

This [thread about nested virtualization](https://www.reddit.com/r/aws/comments/7twr36/can_ec2_support_nested_virtualization/) suggests that I should try google cloud or azure.

Before looking into it, I would love to hear whether/how others run this docker in the cloud.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.