Ad

Using Vscode To Develop A Flutter App, But After Stopping The Debugging And Opening The App On The Phone, It Loads The Previous Version

- 1 answer

I am using Vscode for developing flutter apps. After running the app in debug mode on my phone and stopped the debugging, then opened the app on the phone, it loads the previous version instead of the current one.

Ad

Answer

Hot reloads/restarts don't exist after ending the debugging session.

If you want to keep the updated app on the phone after debugging,

  1. Stop the debug session
  2. Run the app again
Ad
source: stackoverflow.com
Ad