budtmo / docker-android

Android in docker solution with noVNC supported and video recording
Other
9.61k stars 1.27k forks source link

Android Emulator not working when launching container #236

Open Jkg1521 opened 4 years ago

Jkg1521 commented 4 years ago

💬 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 commented 4 years ago

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.

nouhouari commented 4 years ago

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

mhhio commented 3 years ago

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