I built an app with
version: 2.0.2+20
in the pubspec.yaml
and everything (distribution and GooglePlay) worked.
Changing it to
version: 2.0.3+1
I get the error in the Goolge Play Console
Version code 1 has already been used. Try another version code.
I thought I can have a release "2.0.1+1" and later "2.0.2+1" and so on. Am I wrong? And if not - what couöd cause my problem?
You should increment version code always as it is used to identify and push updates internally. You can use any version name which is shown on the play store listing but must increment the number following the plus sign, that is version code.
version: 2.0.3+21