如何将应用程序从生产环境迁移到Beta版Android [英] how to move app from production to beta android

查看:85
本文介绍了如何将应用程序从生产环境迁移到Beta版Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在生产中误上传了我的应用.现在,我正在尝试将其上传到测试版.它说:

I have uploaded my app in production by mistake. Now, I am trying to upload it to the beta version. and it says that:

上传失败 您需要为APK使用其他版本代码,因为您已经有一个版本代码为1的版本.

Upload failed You need to use a different version code for your APK because you already have one with version code 1.

我应该怎么做才能将相同的APK上传到Beta版本,并从生产环境中删除现有的APK?我尚未发布该应用程序.我需要等待一段时间或任何建议来解决此问题吗?

What should I do to upload the same apk to the beta version and remove existing from production? I have unpublished the app. Do I need to wait for some time or any suggestions to overcome this issue?

PS:我不想更改程序包名称并在服务器上上传新的APK.

推荐答案

您不能发布具有相同版本代码的apk文件.您已经发布了一个版本代码为1的apk.只需更新Manifest.xml中的版本代码即可.例如:

You cannot publish an apk file with the same version code. You have already published an apk with a versionCode of 1. Simply update the version code in your Manifest.xml. For example:

<manifest android:versionCode="2" ...>

这篇关于如何将应用程序从生产环境迁移到Beta版Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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