androidfluttergoogle-playgoogle-play-console

Version code 1 has already been used. Try another version code


I am uploading new app bundle to play console and it is saying after uploading Version code 1 has already been used. Try another version code.

I have changed version number in pubspec.yaml from version number: 1.0.0+1 to 2.0.0+1 even though it is saying the same error


Solution

  • For Flutter only: Goto Pubspec.yaml file and find version key and Change the value after the + sign.

    For Example: In your pubspec.yaml file, if your version is like this version: 1.0.0+1 then change it to version: 1.0.0+2