docker-android icon indicating copy to clipboard operation
docker-android copied to clipboard

Android Emulator not working when launching container

Open Jkg1521 opened this issue 5 years ago • 3 comments

💬 Questions and Help

I have gone through the sample tutorial of using the following command: docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S6" --name android-container budtmo/docker-android-x86-8.1

However, when attempting to run it It will be unhealthy and then my virtual machine will freeze. Previously the first time we tried this install it will allow us to use noVNC but the emulator will not run. I have enabled nested virtualization and attempted to install KVM packages. This is for a project so any advice would be much apreciated!

Jkg1521 avatar Apr 07 '20 19:04 Jkg1521

Further, I was able to get android emulator working through android studio on the Virtual machine. However, When running the container I just get the blank screen. One launch I did get an android emulator crash report but that was it. Further, If i run the container then stop it and then run it again the cirtual machine locks up and crashes.

Jkg1521 avatar Apr 09 '20 19:04 Jkg1521

I'm running the container on MacOs and can't see the emulator when starting the container. adb devices returns empty emulator -list-avds returns samsung_galaxy_s6_9.0 emularor -avd samsung_galaxy_s6_9.0 PANIC: Missing emulator engine program 'x86' CPU

nouhouari avatar Aug 31 '20 09:08 nouhouari

also I have this problem too I using virtual box in windows and enable nested virtualization engine for my VM but when I run this command VM m get freeze: docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S6" --name android-container budtmo/docker-android-x86-9.0

mhhio avatar May 26 '21 18:05 mhhio