Chrome browser keeps crashing when running on android emulator in docker container Chrome browser keeps crashing when running on android emulator in docker container docker docker

Chrome browser keeps crashing when running on android emulator in docker container


In my case I had the following two issues:

  1. My graphic card driver was not installed in the host system (Ubuntu 16.04.03 x64) and my current user was not in the group "video".

The symptom of the missing graphics card driver was the following logged line in the "Android Device Monitor" (for all googlers):

chromium: [ERROR:gl_surface_egl.cc(263)] eglChooseConfig failed with error
  1. I used the wrong emulator and chrome architecture.

After I used an android image with the architecture x86 (and not x86_64) and a google chrome version with the architecture x86 (and not arm or arm64 + arm) runs everything fine.

Finally a good article about how chrome is updated in the emulator: https://www.inflectra.com/support/knowledgebase/kb276.aspx