安卓应用中的版本问题

文章讲述了在使用AndroidStudio开发应用并尝试发布到GooglePlay时遇到版本冲突的问题。作者提供了两种解决方案:一是从GooglePlay的发布部分删除未发行的草稿版本;二是修改build.gradle(Module)文件中的versionCode和versionName。通过更改这些值,可以成功上传新的应用版本。
摘要由CSDN通过智能技术生成

用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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值