Has anyone gotten this working on a Mac recently? #68
-
I've followed along with this Medium article from a few years ago, and it gets quite close but not all the way there. I've written in some detail on StackOverflow, but TL;DR, I seem to be able to successfully create new virtual devices, but they never display anything except a gray screen in VNC, and crash if you touch them. Anyone using this on a Mac currently, and if so, what did you need to do to get it running? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @cwrichardson 👋 I use it on my Mac (with Intel CPU), and everything works. It should not matter which host OS you run, the Docker engine is taking care of all virtualization work. According to your description and logs, you were able to launch the container successfully, and even connected via a VNC client. That's great, the image works. But you had a problem running an emulator. You tried with the same emulator that I've been tested: Did you launch the emulator with I've mentioned in the README that:
From your Stackoverflow question, it seems you have downloaded all the required packages. I think you've done everything properly, I have no other advice, but maybe you can try:
The error you've got is actually just a warning, nothing fatal, should not stop you from using it.
Please try again with the latest image and wait a bit longer. Thank you for your patience. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Happy to hear it finally works for you. Concerning your questions:
No, you can ignore this type of warning.
In fact, this Docker image is designed for CI purposes, for any interactive operation, you should consider a faster emulator on your host machine. Nevertheless, this warning seems a warning from Qt (which renders the emulator) to VNC. You can find some help in this thread, e.g.: Regarding how to debug in WebView, sorry, this is out of my knowledge. |
Beta Was this translation helpful? Give feedback.
Hi @cwrichardson 👋
I use it on my Mac (with Intel CPU), and everything works. It should not matter which host OS you run, the Docker engine is taking care of all virtualization work.
According to your description and logs, you were able to launch the container successfully, and even connected via a VNC client. That's great, the image works. But you had a problem running an emulator.
You tried with the same emulator that I've been tested:
system-images;android-25;google_apis;armeabi-v7a
, this emulator should work.Did you launch the emulator with
-gpu swiftshader_indirect
option?emulator -avd armeabi-v7a -no-audio -no-boot-anim -accel on -gpu swiftshader_indirect &
I've mentioned in the R…