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.
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. 🙂
Kuzu Zangpo la! I am Sonam Dargay. I am a full-time software developer. Apart from 9-5 office works, I am a tech enthusiast, blogger, and dreamer.
I graduated from the College of Science and Technology(CST), affiliated with the Royal University of Bhutan.