mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 20:25:57 +03:00
[GH-ISSUE #184] Emulator does not come up #132
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lkkushan101 on GitHub (Jul 31, 2019).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/184
🐛 Bug Report
I pulled the docker container
docker pull budtmo/docker-android-x86-8.1
Ran the container
docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Nexus One" --name android-container budtmo/docker-android-x86-8.1
Accessed in the browser
http://127.0.0.1:6080/
But i see the logo but not the emulator...
What should i do ?
@kevenfeng commented on GitHub (Jul 31, 2019):
+1
ubuntu 16 Docker version 19.03.1
@lkkushan101 commented on GitHub (Jul 31, 2019):
do i have to change the docker version? please advice me to solve this issue
@alexcanDvlpr commented on GitHub (Jul 31, 2019):
I have the same problem. Windows 10 Docker version 18.09.2.
@dwwhalen commented on GitHub (Aug 1, 2019):
This seems to be a very popular problem. There is a closed issue that addresses it pretty well https://github.com/budtmo/docker-android/issues/120
My understanding is you need to be using Ubuntu. I have a Windows 10 laptop and was able to get it working with Ubuntu on VMware Workstation 15 Player. For the VM settings Virtualization engine I chose "Virtualize Intel VT-x/EPT or AMD-v/RVI". I had no luck with Oracle Virtual Box.
@yagelardan commented on GitHub (Aug 2, 2019):
Try to add "-p 4723:4723", then do "adb connect localhost:5555"
@shangyou commented on GitHub (Aug 4, 2019):
After the installation is completed, access through the browser, the following picture appears, the phone page does not appear, is it correct?

@panyang1217 commented on GitHub (Aug 6, 2019):
+1
Azure VM with Ubuntu 18.04
@Grohden commented on GitHub (Aug 6, 2019):
#93 doesn't have a nice title, but I think that is the same problem.
I've made this comment and it might help you to understand the problem..
it seems that there are two
emulatorexecutables on thepath, but the wrong one is picked, you can confirm this by callingwhich emulator(inside the container of course) and checking that it returns/root/tools/emulatorinstead of/root/emulator/emulatorIn case this happens, you can start the emulator inside the container with
/root/emulator/emulator -avd YOUR_EMULATOR_NAME.If you wish to start the container with the emulator opened I don't have any ideas :/ using a script on the run command doesn't seems to work cuz the emulator is created using the DEVICE_NAME after the container is up/started
I've tried to create a image with this (to make the
pathuse the correct emulator):but still the emulator doesn't start when I start the container
@eyal919 commented on GitHub (Aug 8, 2019):
same for me... using latest docker image budtmo/docker-android-x86-6.0 not bring up the emulator while version 1.7-p1 is working fine.
adb shell return: error: no devices/emulators found
this is the log output of docker-android.stderr.log
update:
when running the command manually with verbose i'm getting this error:
update:
if i'm changing the ANDROID_HOME (from /root to /dev) the emulator started but since there are many subfolder under /root that are needed to start the emulator normally (e.g. /root/build-tools) we can't change the ANDROID_HOME easily
@aranvic commented on GitHub (Aug 8, 2019):
the same problem on MacOs, Mojave 10.14
@shangyou commented on GitHub (Aug 8, 2019):
Emulator was not previously initialized. Preparing a new one...
@ghost commented on GitHub (Aug 8, 2019):
same problem here ! ubuntu 18.04
@ghost commented on GitHub (Aug 8, 2019):
i solve this issue allowing virtualization in my bios config
@budtmo commented on GitHub (Aug 21, 2019):
duplicated #93
@alexcanDvlpr commented on GitHub (Aug 29, 2019):
I solve this issue.
I have used a virtual machine with Ubuntu 18.04 in VMWare, in which I have installed Docker and I have followed the steps of this project and working.
The problem I found is that VirtualBox does not support "nested-virtualization" and VMWare does.
I hope it helps you.
@gitamineHM commented on GitHub (Nov 1, 2019):
@budtmo The issue is the same with windows 7 and docker with linux container.
Edit : I have Tried to use Arm v 5.1 images for Windows, The Android Emulator launches but still on Android startup Logo, I have tried all possible Smartphone Simulators