[英]how to move app from production to 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:它说:
Upload failed You need to use a different version code for your APK because you already have one with version code 1.上传失败您需要为您的 APK 使用不同的版本代码,因为您已经有一个版本代码为 1 的版本代码。
What should I do to upload the same apk to the beta version and remove existing from production?我应该怎么做才能将相同的 apk 上传到测试版并从生产中删除现有的? I have unpublished the app.我已取消发布该应用程序。 Do I need to wait for some time or any suggestions to overcome this issue?我需要等待一段时间或任何建议来解决这个问题吗?
PS: I don't want to change package name and upload new apk on the server. PS:我不想更改 package 名称并在服务器上上传新的 apk。
You cannot publish an apk file with the same version code. 您无法发布具有相同版本代码的apk文件。 You have already published an apk with a versionCode of 1. Simply update the version code in your Manifest.xml. 您已经发布了一个versionCode为1的apk。只需更新Manifest.xml中的版本代码即可。 For example: 例如:
<manifest android:versionCode="2" ...>
On the right side of the Developer Console in your APK window there's a button that says "Switch to advanced mode." 在APK窗口的开发者控制台的右侧,有一个显示“切换到高级模式”的按钮。 Activate advanced mode by pressing that button. 按该按钮激活高级模式。
Once selected, a dropdown will appear under the "Actions" column for your APK, and you can select to move your application between alpha, beta, and production.Below's image shows what that menu looks like for an APK in beta. 选择后,您的APK的“操作”列下会显示一个下拉列表,您可以选择在alpha,beta和production之间移动您的应用.Below的图片显示了测试版APK的菜单。
You can create a new release in Beta track (Open Testing) and instead of uploading a new bundle, choose "Add from Library" option and select the app bundle that you uploaded for Production.您可以在 Beta 轨道(开放测试)中创建一个新版本,而不是上传新的捆绑包,选择“从库中添加”选项和 select 您为生产上传的应用程序捆绑包。 The version of the Beta app would be same as that in Production. Beta 应用程序的版本将与 Production 中的版本相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.