skip to Main Content

When i install flutter app in my emulator its run perfectly but after i stop the app and run again it doesn’t run properly.

First Time Run the App (install first time)

After stop and run show nothing

I want that it will run properly. I try different device but still not work

2

Answers


  1. Yeah it’s becasue during dubbing it doesn’t save your app state properly. Try running in release mode or build apk and install.

    for release : flutter run -d devicename –release

    for build : flutter build apk –release or –debug

    Login or Signup to reply.
  2. This issue occurs because your debug app retains the state from previous builds. To resolve this, try running your app in release mode.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search