-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Closed
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Milestone
Description
Repro
- Run your app with "Run" from Atom (it works)
- Change some text in your app
- Run from Atom again (it works)
- Kill the app on Android.
- Restart it from Android.
- You'll see the text from number 1 again.
- Uninstall the app from the device
- Reinstall with flutter run.
- Still shows the old text from number 1.
jsimmons explained that step 3 downloaded an updated .flx file to the device in the tmp directory and ran that file. This tmp file is not removed by step 7.
It appears that the .flx file is sometimes being used when it is old (step 9) and sometimes not being used when it should be (step 6).
Recommendation
Jason recommended doing flutter build apk and then installing that. Perhaps as an initial fix, this procedure needs to be documented and this command needs to Atom as a Full Rebuild command (@devoncarew)
As a longer term fix, this process needs to be more predictable and reliable.
Metadata
Metadata
Assignees
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.