如何解决“你的APK的版本码需要高于2"在 Google Play 的开发者控制台中? [英] How to solve "Your APK's version code needs to be higher than 2." in Google Play's Developer Console?

查看:17
本文介绍了如何解决“你的APK的版本码需要高于2"在 Google Play 的开发者控制台中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将我的 Phonegap 应用上传到 Google Play 开发者控制台时出现此错误:

I'm getting this error when uploading my Phonegap app to the Google Play Developer Console:

您的 APK 的版本号需要高于 2.

Your APK's version code needs to be higher than 2.

我该如何解决这个问题?

How can I fix this?

推荐答案

如果您直接使用 Gradle,或通过 Android Studio 间接使用:

If you're directly using Gradle, or indirectly through Android Studio:

我通过编辑 build.gradle 文件中的版本号来修复它!android.manifest 文件底部有一个小横幅,上面写着这些更改正在被 build.gradle 文件覆盖."

I fixed it by editing the version number inside of the build.gradle file! There is a small banner at the bottom of the android.manifest file that says "these changes are being overwritten by the build.gradle file."

这篇关于如何解决“你的APK的版本码需要高于2"在 Google Play 的开发者控制台中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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