I am a new flutter programmer and i am trying to build my release app in flutter and when i run
flutter run
everything work fine in debug and te
If flutter clean
and flutter build apk
also generates apk with old version code in your pubspec.yaml change the version like this version: 1.0.2+2
Before + it is your version name and after + sign it is your version code
NOTE: Your new version number should be in the place of 2. Or you can use different format such as 1.2+2