问题描述
大约两年前,我使用 Google Play 开发者控制台中的Beta"版发布了我的一个应用程序的一个版本,作为面向有限数量用户的 Beta 测试版.我没有将该版本推广到生产,而是在生产轨道中发布了另一个版本.
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. I didn't promote that version to production, instead I just released another version in the production track.
那个旧的测试版还在徘徊,我找不到摆脱它的方法.今天我什至收到了一封来自 Google 的电子邮件
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
Google Play 开发者您好,
Hello Google Play Developer,
谨此提醒您,自 2018 年 11 月 1 日起,对应用和Google Play 上的游戏将需要针对 Android Oreo(API26 级)或更高.在此日期之后,Play 管理中心将阻止避免提交 targetSdkVersion 小于 26 的新 APK.
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. After this date, the Play Console will prevent you from submitting new APKs with a targetSdkVersion less than 26.
将您的应用配置为以最近的 API 级别为目标可确保用户受益于显着的安全性和性能改进,同时仍然允许您的应用在较旧的 Android 版本上运行(低至minSdkVersion).
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).
需要采取行动
请确保您的应用配置为至少面向 Android8.0(API 级别 26)到 2018 年 11 月 1 日.有关如何更改应用的目标 API 级别以满足这些要求的技术建议,请参阅到迁移指南.
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.
受影响的应用
以下应用包含一个或多个 APK — 处于生产或测试阶段轨道——目前不针对 API 级别 26 或更高级别.应用列出了最大版本代码和相应的目标SDK版本.如果您有超过 20 个可能受到影响的应用在您的帐户中,请查看 Play 管理中心以获取完整列表.
The apps included below have one or more APKs—in production or testing tracks—that aren't currently targeting API level 26 or higher. Apps are listed with the maximum version code and corresponding targetSdkVersion. If you have more than 20 apps that could be affected in your account, please check the Play Console for a full list.
com.mypackage.myapp 73 23
com.mypackage.myapp 73 23
底部提到的应用是两年前的测试版,版本号为 73,目标 API 23.生产中的应用在几天前更新,目标 API 28.
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.
有什么办法可以从 Google Play 开发者控制台中删除旧的测试版?
Is there any way at all to get rid of that old beta version from 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.
问题在于取代版本和阴影版本之间的微妙差异.您的 Beta 版 APK 被部分隐藏.测试版 APK 针对 SDK9+ 上的用户,而您的生产版 APK 针对 SDK16+ 上的用户.这意味着虽然大多数用户将获得您的正式版 APK,但使用旧设备 (SDK 9-15) 的用户将获得您的测试版.因此,您的测试版在技术上仍然有效,因此您收到的电子邮件是正确的.
The problem is the subtle difference between a superceded release and a shadowed release. Your beta APK is partially shadowed. The beta APK is targeted at users on SDK9+, whereas your production APK is targeted at users on SDK16+. This means while most users will get your production APK, users on older devices (SDK 9-15) will get your beta. As a result, your beta is still technically active, and so you getting the email is correct.
所以现在的问题是您可以做些什么来停用它?答案在 UI 中有点令人困惑,但仔细想想就明白了.你需要
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. You need to
- 创建一个包含 NO (0!) APK 的版本
- 将该版本发布到 Beta 轨道
- create a release with NO (0!) APKs in it
- publish that release to the beta track
这告诉 Play,您故意不希望在 Beta 版中没有活动的 APK.这些用户仍将获得正式版 APK,但您的旧 Beta 版 APK 将不再有效.很抱歉这让您感到困惑,您遇到了一个微妙的边缘案例.
This tells Play that you deliberately want there to be no active APKs in Beta. These users will still get production APKs, but your old beta APK will no longer be active. We're sorry this got confusing, you were caught by a subtle edge case.
这篇关于从 Google Play 中删除过时的测试版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!