在build gradle和commit中更改版本代码后,不使用devops管道生成Android APK版本

在build gradle和commit中更改版本代码后,不使用devops管道生成Android APK版本,android,azure-devops,continuous-integration,continuous-deployment,Android,Azure Devops,Continuous Integration,Continuous Deployment,我已在应用程序构建梯度文件中提交更改版本代码后的代码。 我已经在Azure DevOps中运行了管道。 完成管道任务并生成APK on drop文件夹,但当我发布APK play store时,收到play store的消息“APK版本已使用” 如果在build.gradle文件中更改版本代码不起作用。 您可以尝试删除默认配置下的versionCode和versionName,并在AndroidManifest.xml中添加versionCode和versionName:请检查此项 还要确保

我已在应用程序构建梯度文件中提交更改版本代码后的代码。 我已经在Azure DevOps中运行了管道。
完成管道任务并生成APK on drop文件夹,但当我发布APK play store时,收到play store的消息“APK版本已使用”

如果在build.gradle文件中更改版本代码不起作用。 您可以尝试删除默认配置下的versionCode和versionName,并在AndroidManifest.xml中添加versionCode和versionName:请检查此项


还要确保管道是根据版本代码更改提交到的正确分支生成的


如果您想自动增加版本代码,请检查

Hi@Kaushal Patel您是否签出了上述线程,它与上述解决方案如何配合?
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="YOUR_PACKAGE_NAME"
    android:versionCode="1"
    android:versionName="1.0">