Flutter: Shader Compiler Error

Flutter Shader Compiler Error: In this tutorial, I’m going to show you how to resolve the “Shader compilation error” in the Flutter project.

I solved my Shader compilation error by changing the emulator’s settings.

Press that … button which is located on the side panel of the emulator, and go to the Settings section. There, go to the Advanced tab and change OpenGL ES API level to Compatibility (OpenGL ES 1.1/2.0).

Do not forget to close and rerun the emulator after this change. On the first run, the emulator could pop a warning on its screen and it would take a while to get ready, but do not worry.

Video tutorial

Disclaimer: This is adapted from https://stackoverflow.com/questions/58380329/flutter-1-9-d-skia-5106-shader-compilation-error
I am sharing this as it worked for me. 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top