[英]Google Play Uploading new APK file
I uploaded an APK for alpha which is version 1.0 and published as alpha. 我上传了APK版本1.0的APK,并以alpha版本发布。 I made some changes in application and want to change the previous apk but it says 1.0 already exists. 我在应用程序中进行了一些更改,想要更改以前的apk,但它说1.0已经存在。 I tried to upload 1.0.1 but it says the same. 我尝试上传1.0.1,但是说的一样。 What should I do? 我该怎么办?
Two important rules from Google: Google的两个重要规则:
The Version Code needs to be greater than that current version. 版本代码必须大于当前版本。 Learn more about versioning your applications. 了解有关对应用程序进行版本控制的更多信息。
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.package.name" android:versionCode="2" android:versionName="1.1"> <application android:icon="@drawable/icon" android:label="@string/app_name"> ... </application> </manifest>
The updated APK needs to be signed with the same signature as the current version. 更新后的APK需要使用与当前版本相同的签名进行签名。
old manifist file 旧的清单文件
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.urlconnectionclass"
android:versionCode="1"
android:versionName="1.0.0" >
new manifest file 新清单文件
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.urlconnectionclass"
android:versionCode="2"
android:versionName="1.1.0" >
always increse the value of versioncode and versionname while uploding apk of same production 在上载相同产品的apk时,总是增加versioncode和versionname的值
您更改Android清单中的版本?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.