how to build apk create old version app in Flutter
the solution is easy.
just run flutter clean
and run flutter build apk
after that and it generate update app apk.
if you want to install it directly just run flutter install
after the build command.
To all the beginners If you wish to release an apk of a flutter app just do:flutter run --release (and make sure to connect your device to a phone)steps to ensure your phone is connected:1. enable usb debugging mode in your phone2.click on version number of your phone in system settings to enter into developer mode 3. change the phone mode to transferring file mode
After you run the command go to build->apps->output->apk