您的APK的版本代码应高于378 [英] Your APK's version code should be higher than 378

查看:92
本文介绍了您的APK的版本代码应高于378的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个月前,我已经在Phonegap Build中创建了一个Android应用,并且可以在Play商店中正常使用.我已经发布了我的应用的一些更新,并且均已成功发布,但今天我想发布我的新更新应用,但显示错误您的APK版本代码应高于378"

I have created an Android app in Phonegap Build few months ago and its working fine and available on Play Store .I have Published Couple of updates of my app and thay are all Published Successfully but today i want to publish new update of my app but its showing the error "Your APK Version code should be higher than 378 "

我更改了配置文件中的Version,还更改了AndroidManifest文件中的android:version代码和版本名称,但对我没有任何帮助. 任何帮助将不胜感激.谢谢

I have changed Version in config file and also changed the android:version code and version name in AndroidManifest file but nothing working for me . Any help would be Appreciated .Thanks

推荐答案

我认为我和您有同样的问题.

I think I have the same problem as you.

在生产中,我具有以下版本:

In production, i have The Following release:

200118 (2.0.11)

200118 (2.0.11)

请注意, 6位数字版本代码

我已经更新了Cordova Client (Cordova Android 5.2.1和cordova@6.3.0)

I have updated Cordova Client (Cordova Android 5.2.1 and cordova@6.3.0)

我要发布新版本(对于新版本,我的config.xml):

I want to publish new release (my config.xml for the new version):

小部件ID ="com.xxxxx.yyyyyyyyyyy"版本="2.1.1"

Widget id = "com.xxxxx.yyyyyyyyyyy" version = "2.1.1"

当我用Cordova编译发行版时,我得到一个清单:

When I compile the release with Cordova, I get a manifest:

清单android:hardwareAccelerated ="true" android:versionCode = " 20101 " android:versionName ="2.1.1"

Manifest android: hardwareAccelerated = "true" android: versionCode = "20101" android: versionName = "2.1.1"

请注意, 5位数字版本代码

当我想在Google Play上发布时,我收到与您相同的消息:您的APK版本代码应高于200118"

When I want to publish on Google Play, so I get the same message as you: "Your APK version code shoulds be Higher Than 200118"

科尔多瓦虫?

作为一种解决方法,编辑您的config.xml ,添加"android-versionCode"并手动指定您的versionCode:

As a workaround, edit your config.xml, add "android-versionCode" and specify your versionCode manually:

小部件id ="com.xxxxx.yyyyyyyyyyyy" android-versionCode ="201018" 版本="2.1.1"

widget id="com.xxxxx.yyyyyyyyyyy" android-versionCode="201018" version="2.1.1"

然后构建

这篇关于您的APK的版本代码应高于378的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆