flutter build apk create old version app

前端 未结 4 1483
南方客
南方客 2021-01-31 16:21

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

4条回答
  •  粉色の甜心
    2021-01-31 16:49

    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

提交回复
热议问题