close

[Solved] Version code 1 has already been used. Try another version code flutter

Hello Guys How are you all? Hope You all are fine. I am trying to upload my app to the play store but I am facing this error Version code 1 has already been used. Try another version code flutter. So today Here I come with all possible solutions for this error.

We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.

How Version code 1 has already been used. Try another version code flutter Error Occurs ?

I am trying to upload my app to the play store but I am facing this error.

How to Solve Version code 1 has already been used. Try another version code flutter Error?

  1. How to Solve Version code 1 has already been used. Try another version code flutter Error?

    To Solve Version code 1 has already been used. Try another version code flutter Error Just open pubspec.yaml file. Increase version number: 1.0.0+1 to 1.0.0+2 Now just uninstall your old version app from device and rerun your app. Then just try to make build. Now you can upload your app in play console.

Solution 1

  1. Just open pubspec.yaml file.
  2. Increase version number: 1.0.0+1 to 1.0.0+2
  3. Now just uninstall your old version app from device and rerun your app.
  4. Then just try to make build.
  5. Now you can upload your app in play console.

Solution 2

  1. version code and build-number are same
  2. And another way is if the version number is x.x.x and version code is y
  3. while creating appbundle
  4. run flutter build appbundle --build-version=x.x.x --build-number=y on your terminal

Summery

So, It’s All About This Error. I hope this tutorial helps you to Solve your error. Please Comment Below if You stucks anywhere with my code. And please comment below on which solution worked for you. Thank You.

Also Check Out Below Tutorials

Leave a Comment

%d bloggers like this: