用android Studio 做了一个应用,想发布在google play 里,就碰到一个版本的问题。
我上传了一个版本,更新了一点点,结果有这样一个错误:Version code 1 has already been used. Try another version code。本文就这问题的解决做个小总结。
google 这个错误,找到下面这个链接:android - Version code 1 has already been used. Try another version code - Stack Overflow
有个答案原文这样说的:
You have two ways to solve this, if you released your bundle already, then you have to update your version code like in balu k's answer,
If you're still developing and pushed app bundle for say, testing, and then you delete it, this bundle is saved as a draft with that version code. Therefore, it says that you can't use the same version because it alread