Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle... 6.8s
Resolving dependencies... 20.5s
Running 'gradlew assembleDebug'... 32.1s
Built build/app/outputs/apk/app-debug.apk (21.2MB).
Installing build/app/outputs/apk/app.apk... 8.7s
until I got these errors, which I didn't get when linking it to a physical android phone.
E/flutter ( 6995): [ERROR:flutter/shell/gpu/gpu_surface_gl.cc(161)] Could not wrap onscreen surface.
Syncing files to device Android SDK built for x86...
E/flutter ( 6995): [ERROR:flutter/shell/gpu/gpu_surface_gl.cc(161)] Could not wrap onscreen surface.
I was wondering if any of you had ideas as to why this is happening. Should I choose a different emulator (I'm using Pixel API 25 running Nougat), or is there something I should configure in flutter to work properly on emulators... or is it something else like a glitch in flutter's code? Help would be appreciated.