-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emulator is running using nested virtualization. This is not recommended. It may not work at all... #281
Comments
hey @rrdhani7 did u manage to fix this? im using google cloud with nested virtualization and im getting the same issue but in my case the container works, i can open any app etc, but i cannot connect it to adb correctly when i did it from my own ubuntu i got emulator-5554 down the localhost:6080 line, then i could call from appium that emulator
|
I got this trying 2 images but i think i will have the same problem in all, anyone knows any way of fixing this? |
I found a work-around for this issue, definitely there should be better way to handle it. Either extending Dockerfile or just replacing entrypoint with below work-around will close the window/dialog. Have/add new process on supervisor.conf file which runs below command. Need to install
|
Speaking of nested virtualization - I'm curious if you noticed it being actually slow or very slow? |
Do you guys were able to handle the situation? I'm using GCP and I got the same message. The performance is much lower than I expected. |
I did some experiments using [General]
showNestedWarning=false Then, I've been able to disable the warning with the following command in my RUN mkdir -p "${WORK_PATH}/.config/Android Open Source Project" \
&& echo "[General]\nshowNestedWarning=false\n" > "${WORK_PATH}/.config/Android Open Source Project/Emulator.conf" |
Hi @muvaf , Thank you for the solution. Could you create a PR for that? I will review and merge that PR. it will benefit other as well. |
🐛 Bug Report
Operating System: Ubuntu 20.04
Docker Image: budtmo/docker-android-x86-8.1
Docker Version: 20.10.4, build d3cb89e
Docker-compose version (Only if you use it):
Docker Command to start docker-android: docker run
Expected Behavior: Android emulator is working well
Actual Behavior
The text was updated successfully, but these errors were encountered: