Flutter sample app not working
I assume it is an issue with hardware rendering in the emulator.
See also https://github.com/flutter/flutter/issues/12112
If it actually is the problem you should be able to work around with
flutter run --enable-software-rendering -t lib/main.dart
(-t lib/main.dart
is default and optional)
Wasim K. Memon
I work as a mobile Applications developer and specialize in Android. If you downvote one of my questions/answers, please leave a rational explanation. I'm not into revenge downvotes, so you're safe. My free time work https://play.google.com/store/apps/details?id=com.androprogrammer.dictionaryapp
Updated on December 04, 2022Comments
-
Wasim K. Memon over 1 year
Today I started development in Flutter. I have completed setup and installation process. When I try to run sample app created by following steps mentioned here.
I don't know what can be problem/Issue.
But output look like this in Android Emulator.
-
Rémi Rousselet about 6 yearsCreate an issue on flutter repository here as it's most likely a bug
-
-
Wasim K. Memon about 6 yearsThis is working with terminal but how to apply same thing from android studio. I mean how to resolve issue when i press run button from AS ?
-
Günter Zöchbauer about 6 yearsI guess there is no way. You'll need to wait for the bug to be fixed.