user image

Jo Micheal
Published in : 2023-03-13

[solved] Version code 1 has already been used React native

React js

Hello everyone, I am getting this error while i am uploading my React Native bundle to Google play 
I am using React Native with Expo cli

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

What should i do? 

web-brackets.com

Comments

Mohamed Atef Date : 2023-03-18

Best answers

51

Best answers

51

You can fix it from App.json > Android > versionCode and set a new versionCode to your app then run the expo build again and it will work fine hopefully like this 

 "android": { "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#FFFFFF" }, "package": "com.maistorinkiniai", "versionCode": 2 },

 

 

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

TypeError: Cannot read properties of null (reading 'scrollTop') in jest
Publish date: 2022-09-08 | Comments: 1

Tag: React js

[solved] Render/Show a custom option in Autocomplete Material UI?
Publish date: 2021-12-22 | Comments: 2

Tag: React js

[solved] useEffect is repeating the request Reactjs
Publish date: 2022-04-07 | Comments: 2

Tag: React js

React Component displaying a list of lines
Publish date: 2022-03-19 | Comments: 3

Tag: React js