Omar
Omar

Reputation: 23

My Flutter app doesn't update when i restart it and loads an old version of the app

I searched and only found old answers that didn't work for me, any new solutions?

Upvotes: 1

Views: 892

Answers (3)

Abhijith
Abhijith

Reputation: 2327

Step 1:Run Flutter clean,make sure your build directory deleted after flutter clean,if not run flutter clean until it removes from project,

Step 2:Uninstall the app from phone or emulator

Step 3:Run project again

Upvotes: 0

Abeer Iqbal
Abeer Iqbal

Reputation: 1346

When you are doing changes inside app and update your app with hot reload or hot restart, these changes will be discarded when app kills or restart. So re-run your app to get new changes

Upvotes: 1

Akif
Akif

Reputation: 7640

You can delete the older version from your phone. After that try to restart your project.

Upvotes: 0

Related Questions