Is there a way to install the resultant APK to a phone without using "Hot Reload"? The problem being that once the App restarts and the phone is no longer connected to the computer, the recent changes to the App are removed.
Asked
Active
Viewed 58 times
1 Answers
1
You can install a release version of your app using flutter run --release

dshukertjr
- 15,244
- 11
- 57
- 94
-
1`flutter install -d device` does a release build and copies it into place. – Randal Schwartz Jan 10 '21 at 03:13
-
@RandalSchwartz Are you sure the copy being installed is a release build? The performance of the app is really bad compared to 'flutter run --release' :/ – Jam M. Hernandez Quiceno Jan 10 '21 at 20:00