Deadolus / android-studio-docker

Android Studio + flutter in Docker. Emulator works too - with or without Display, even over SSH if you forward the display
Apache License 2.0
132 stars 53 forks source link

Graphics Environment issue for Mac Docker #4

Closed hrushie closed 4 years ago

hrushie commented 5 years ago

Hello,

I have been working on this container to run on my workstation and I have made some tweaks as version changes. I have successfully built the container but when I am running via shell script of the docker command I am getting the below error. Startup Error: Unable to detect graphics environment I have try to change multiple settings and the changes in the dockerfile but I am still getting same errors, do we have any solution on this?

Thanks

Deadolus commented 5 years ago

Hi. I got this all the time. If I remember correctly you have to set HOST_DISPLAY=1. Don't know if thos works on mac, I only have Linux.

I am in holidays, so can't try this out. Hope this helps.

Cheers

On Tue, Mar 12, 2019, 17:07 Rushi Jawali notifications@github.com wrote:

Hello,

I have been working on this container to run on my workstation and I have made some tweaks as version changes. I have successfully built the container but when I am running via shell script of the docker command I am getting the below error. Startup Error: Unable to detect graphics environment I have try to change multiple settings and the changes in the dockerfile but I am still getting same errors, do we have any solution on this?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Deadolus/android-studio-docker/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/AEci9S3gA28JiR4qpQzpfZ8uPYu2c1meks5vVygcgaJpZM4bqBtX .

Deadolus commented 5 years ago

@agnesjang98 how did you fix the issue?

On Tue, Mar 12, 2019, 19:29 Simon Egli deadolus@gmail.com wrote:

Hi. I got this all the time. If I remember correctly you have to set HOST_DISPLAY=1. Don't know if thos works on mac, I only have Linux.

I am in holidays, so can't try this out. Hope this helps.

Cheers

On Tue, Mar 12, 2019, 17:07 Rushi Jawali notifications@github.com wrote:

Hello,

I have been working on this container to run on my workstation and I have made some tweaks as version changes. I have successfully built the container but when I am running via shell script of the docker command I am getting the below error. Startup Error: Unable to detect graphics environment I have try to change multiple settings and the changes in the dockerfile but I am still getting same errors, do we have any solution on this?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Deadolus/android-studio-docker/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/AEci9S3gA28JiR4qpQzpfZ8uPYu2c1meks5vVygcgaJpZM4bqBtX .

Deadolus commented 4 years ago

Closing as no new activity