简体   繁体   English

从 Google Play 中删除过时的测试版

[英]Remove obsolete beta version from Google Play

About two years ago I published a version of one of my apps as a beta testing version for a limited number of users, using the "Beta" version in Google Play Developer Console.大约两年前,我使用 Google Play Developer Console 中的“Beta”版本为有限数量的用户发布了我的一个应用程序的一个版本作为 Beta 测试版本。 I didn't promote that version to production, instead I just released another version in the production track.我没有将该版本推广到生产,而是在生产轨道中发布了另一个版本。

That old beta is still lingering around, and I can't find a way to get rid of it.那个旧的测试版仍然存在,我找不到摆脱它的方法。 I even got an email from Google today saying我什至今天收到了一封来自谷歌的电子邮件说

Hello Google Play Developer,您好 Google Play 开发者,

This is a reminder that starting November 1, 2018, updates to apps and games on Google Play will be required to target Android Oreo (API level 26) or higher.谨此提醒,从 2018 年 11 月 1 日起,Google Play 上的应用和游戏将需要更新以面向 Android Oreo(API 级别 26)或更高版本。 After this date, the Play Console will prevent you from submitting new APKs with a targetSdkVersion less than 26.在此日期之后,Play 管理中心将阻止您提交 targetSdkVersion 小于 26 的新 APK。

Configuring your app to target a recent API level ensures that users benefit from significant security and performance improvements, while still allowing your app to run on older Android versions (down to the minSdkVersion).将您的应用配置为针对最新的 API 级别可确保用户从显着的安全性和性能改进中受益,同时仍允许您的应用在较旧的 Android 版本(低至 minSdkVersion)上运行。

Action required需要采取的行动

Please ensure that your apps are configured to target at least Android 8.0 (API level 26) by November 1, 2018. For technical advice on how to change your app's target API level to meet these requirements, refer to the migration guide.请确保在 2018 年 11 月 1 日之前将您的应用配置为至少面向 Android 8.0(API 级别 26)。有关如何更改应用的目标 API 级别以满足这些要求的技术建议,请参阅迁移指南。

Affected apps受影响的应用

The apps included below have one or more APKs—in production or testing tracks—that aren't currently targeting API level 26 or higher.下面包含的应用具有一个或多个 APK(在生产或测试轨道中),这些 APK 当前未针对 API 级别 26 或更高级别。 Apps are listed with the maximum version code and corresponding targetSdkVersion.列出了应用程序的最大版本代码和相应的 targetSdkVersion。 If you have more than 20 apps that could be affected in your account, please check the Play Console for a full list.如果您的帐户中有 20 个以上的应用可能会受到影响,请查看 Play 管理中心以获取完整列表。

com.mypackage.myapp 73 23 com.mypackage.myapp 73 23

The app referred to on the bottom line is the two year old beta version, with a version number of 73 and targeting API 23. The one in production was updated just a few days ago and targets API 28.底线提到的应用程序是两年前的测试版,版本号为 73,面向 API 23。生产中的应用程序几天前才更新,面向 API 28。

Is there any way at all to get rid of that old beta version from Google Play Developer Console?有什么办法可以从 Google Play Developer Console 中摆脱旧的测试版吗?

Using a few hints you left on your stack overflow profile I think I've deduced what your app is and what is the problem.使用您在堆栈溢出配置文件中留下的一些提示,我想我已经推断出您的应用程序是什么以及问题是什么。 I won't mention the app name here as you seemed to want to keep the question general.我不会在此处提及应用程序名称,因为您似乎希望将问题保持一般性。

The problem is the subtle difference between a superceded release and a shadowed release.问题是被取代的版本和影子版本之间的细微差别。 Your beta APK is partially shadowed .您的测试版 APK 被部分遮蔽 The beta APK is targeted at users on SDK9+, whereas your production APK is targeted at users on SDK16+.测试版 APK 面向 SDK9+ 上的用户,而您的生产版 APK 面向 SDK16+ 上的用户。 This means while most users will get your production APK, users on older devices (SDK 9-15) will get your beta.这意味着虽然大多数用户将获得您的正式版 APK,但旧设备 (SDK 9-15) 上的用户将获得您的 Beta 版。 As a result, your beta is still technically active, and so you getting the email is correct.因此,您的测试版在技术上仍处于活动状态,因此您收到的电子邮件是正确的。

So now the question is what can you do to deactivate it?所以现在的问题是你能做些什么来停用它? The answer is a bit confusing in the UI, but makes sense once you think about it.答案在 UI 中有点令人困惑,但是一旦您考虑一下就有意义了。 You need to你需要

  • create a release with NO (0!) APKs in it创建一个没有(0!)个 APK 的版本
  • publish that release to the beta track将该版本发布到测试版轨道

This tells Play that you deliberately want there to be no active APKs in Beta.这告诉 Play,您故意希望 Beta 中没有活动的 APK。 These users will still get production APKs, but your old beta APK will no longer be active.这些用户仍将获得正式版 APK,但您的旧测试版 APK 将不再有效。 We're sorry this got confusing, you were caught by a subtle edge case.很抱歉这让您感到困惑,您被一个微妙的边缘案例所吸引。

Just for information of anyone visiting this thread, here is what I did to stop beta appearing on my Google Play Store app listing.仅供访问此线程的任何人的信息,以下是我为阻止测试版出现在我的 Google Play 商店应用程序列表中所做的工作。

At first, we launched with releases on beta track.起初,我们在测试版轨道上发布了版本。 Then, when the app was stable with enough feature set, we decided to go for full production.然后,当应用程序稳定并具有足够的功能集时,我们决定全面投入生产。 We decided to promote the latest beta release to production track (note we didn't place any apk/bundle on production track just promoted the beta release to production).我们决定将最新的 beta 版本推广到生产轨道(请注意,我们没有在生产轨道上放置任何 apk/bundle,只是将 beta 版本提升到生产轨道)。 Then we started to place every new release apk/bundle on production track and this gave us Superseded by production on beta track.然后我们开始将每个新发布的 apk/bundle 放在生产轨道上,这让我们在 beta 轨道上被生产取代 But still we faced the issue of {App Name} (Beta) appearing in the application title on Google Play Store listing.但是我们仍然面临着 Google Play 商店列表的应用程序标题中出现{App Name} (Beta)的问题。

Then to remove this (Beta) from application title we had to go into Google Play Store App listing -> Release Management -> App Releases -> Beta Track -> Click on Manage Testers -> Click on Remove Testers.然后要从应用程序标题中删除此(测试版) ,我们必须进入 Google Play 商店应用列表 -> 发布管理 -> 应用发布 -> 测试版 -> 单击管理测试人员 -> 单击删除测试人员。 A confirmation dialog will open then click "Yes".将打开一个确认对话框,然后单击“是”。

Removing the testers solved the problem.删除测试人员解决了问题。

Suppose you had released beta app (Open testing) with v1.0.0, but your production is pointing to newer version.假设您已经发布了 v1.0.0 的 beta 应用程序(开放测试),但是您的产品指向更新的版本。 Now you want to discontinue that beta programme having older app.现在您想停止使用旧应用程序的测试版程序。

I have found two ways of discontinuing beta programme in new updated play console.我在新的更新游戏控制台中找到了两种停止测试程序的方法。

  1. Go to Open Testing settings of your app.转到应用程序的开放测试设置。 You can see the countries where your beta programme is available.您可以查看提供 Beta 计划的国家/地区。 Now unselect all the countries except one country as one country is mandatory.现在取消选择除一个国家以外的所有国家,因为一个国家是强制性的。 For that mandatory conutry, you can keep any country which you feel like that country is not required for you app.对于该强制性国家,您可以保留您认为该国家/地区不需要您的应用程序的任何国家/地区。

  2. Release a new version in Open Testing track with no apk or bundle in it.在 Open Testing 轨道中发布一个新版本,其中没有 apk 或 bundle。 Yes you can!是的你可以! Play console will allow you to release new beta version without having any app in it. Play 控制台将允许您在没有任何应用程序的情况下发布新的测试版。

For new console -对于新控制台 -

  1. Go to open testing.去开放测试。
  2. Click on the pause track button in the upper right corner.单击右上角的暂停曲目按钮。
  3. Click on the pause track button on the confirmation dialog.单击确认对话框中的暂停曲目按钮。
  4. Congratulations beta version is no longer available to download!恭喜测试版不再提供下载!

We also see such unobvious behavior but it was about inner testing track.我们也看到了这种不明显的行为,但这与内部测试轨道有关。 Even if you remove user or clear the whole list of users - it doesn't help, and that removed user still see the beta version of the app.即使您删除用户或清除整个用户列表 - 也无济于事,被删除的用户仍然会看到该应用程序的测试版。

So what we tried and it helps us a lot of times:所以我们尝试过并且它对我们有很多帮助:

  • remove list of testing users at all(previously you can copy/export that as backup)完全删除测试用户列表(以前您可以将其复制/导出为备份)
  • upload new csv list of users上传新的 csv 用户列表

You cannot delete an app once its published as beta, or alpha or production.一旦应用发布为 Beta、Alpha 或生产版本,您便无法删除该应用。 Because Play store wants to keep app id as unique, so there will not be conflict if you later wanted to release beta version to production.因为 Play 商店想要保持 app id 唯一,所以如果你以后想要发布 beta 版本到生产中,不会有冲突。

The only way you can do is unpublish the app.您可以做的唯一方法是取消发布该应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM