Flutter sample app not working

2,225

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)

Share:
2,225
Wasim K. Memon
Author by

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, 2022

Comments

  • Wasim K. Memon
    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.

    enter image description here

    • Rémi Rousselet
      Rémi Rousselet about 6 years
      Create an issue on flutter repository here as it's most likely a bug
  • Wasim K. Memon
    Wasim K. Memon about 6 years
    This 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
    Günter Zöchbauer about 6 years
    I guess there is no way. You'll need to wait for the bug to be fixed.