Android Virtual Device Problem

My Android virtual devices were not running in Android Studio 2.3.1 - Ubuntu 17.04 - Intel i3 processor that uses the i915 kernel modules.

To troubleshoot the problem I tried running the emulator from the command line.

~/Android/Sdk/emulator/emulator -avd Pixel_XL_API_25

The following error message was at the top of the output.

libGL error: unable to load driver: i965_dri.so

After some googling I remedied the situation by creating the following symbolic link.

ln -sf /usr/lib/libstdc++.so.6 ~/Android/Sdk/emulator/lib64/libstdc++/libstdc++.so.6

Android Virtual Device