If you are linux user like me you will probably encounter libGl error when you try to run your app in android emulator and it will probably look something like this image.
I know it looks scary with all those error notifications popping around but there is fairly simple solution to this. Error is caused by libstdc++.so.6 library shipped with android studio and it can be solved by going around it and using libstdc++.so.6 included with your linux system. Let’s open our terminal and fix this fast.
ln -sf /usr/lib/libstdc++.so.6 ~/Android/Sdk/emulator/lib64/libstdc++/libstdc++.so.6
I simply created symlink to system libstdc++.so.6 and android emulator will now use system file instead of the one android studio is shipped with. Restart your android studio and launch app in emulator to see it working finally.Share with your friends