Little Monkey
Little Monkey

Reputation: 6157

Flutter: Visual studio emulator

Since I have Docker running, I read this guide: https://medium.com/@randombites/running-android-emulator-and-docker-simultaneously-on-windows-df570cfe3fd1 in order to run emulators. Now, if I run a normal Android project (from Android studio) on Visual studio emulator, as suggested by the guide, everything is fine, but, if I try to run a Flutter project, it gives me different errors like "an openGL error has occurred failed to read remote PID" or doesn´t start at all, throwing a timeout error. Can someone help me to solve this problem?

My last output:

Launching lib\main.dart on 5 inch KitKat 4 4 XXHDPI Phone in debug mode...

Initializing gradle...

Resolving dependencies...

Gradle task 'assembleDebug'...

Built build\app\outputs\apk\debug\app-debug.apk.

WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.

timeout waiting for the application to start Application finished.

Upvotes: 1

Views: 897

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657058

Running with software rendering might help

flutter run --enable-software-rendering

Upvotes: 0

Related Questions