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.
Version code 1 has already been used. Try another version code flutter
How to Solve Version code 1 has already been used. Try another version code flutter Error?
- 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.
- Version code 1 has already been used. Try another version code flutter
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
- 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 2
- version code and
build-number
are same - And another way is if the version number is x.x.x and version code is y
- while creating appbundle
- 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
- Unhandled Exception: Bad state: Insecure HTTP is not allowed by platform in a flutter
- The argument type ‘String’ can’t be assigned to the parameter type ‘int’
- How to use Conditional statement in widget in flutter?
- How to use Hexadecimal HEX Color Code String in Flutter Dart ?
- Also Read How to Add Borders to a Widget In Flutter ?
Leave a Reply