简体   繁体   English

是否可以从 Google Play 下载适用于我的应用程序的旧 APK?

[英]Is it possible to download an old APK for my app from Google Play?

Over the last few months, I've published several revisions to my app.在过去的几个月里,我对我的应用程序进行了多次修改。 Unfortunately, I didn't keep copies of all the old APKs, and now I'd like to test upgrade from the old versions to my new version.不幸的是,我没有保留所有旧 APK 的副本,现在我想测试从旧版本到新版本的升级。 Is there any way to download Google's copy of my old versions?有什么方法可以下载我的旧版本的谷歌副本吗? The Google Play developer console shows my old APKs, but without a download link. Google Play 开发者控制台显示我的旧 APK,但没有下载链接。 I tried "Real APK Leecher", but that doesn't let you choose the APK version you want to download.我试过“Real APK Leecher”,但它不允许您选择要下载的 APK 版本。 And I'm not able to even temporarily reactivate the old version in the Developer Console since it complains that it's of an earlier version.而且我什至无法在开发人员控制台中暂时重新激活旧版本,因为它抱怨它是早期版本。

Now it is possible.现在有可能。 They added "Manage Releases" tab to Google Play Developer Console.他们向 Google Play Developer Console 添加了“管理版本”选项卡。 From Artifact Library under the Release Management tab, you can download your app's APK.Release Management选项卡下的Artifact Library ,您可以下载应用程序的 APK。

You need to have the necessary permissions to see the download button next to your artifacts.您需要拥有必要的权限才能看到工件旁边的下载按钮。 If in doubt, try the root account.如果有疑问,请尝试使用 root 帐户。

THE ANSWER IS OUTDATED.答案已经过时。 NOW THIS IS POSSIBLE, CHECK @tesla's AND @olleh's ANSWERS.现在这是可能的,检查@tesla@olleh 的答案。

FOR THE NEW 2020 GOOGLE PLAY CONSOLE, SEE ANSWER FROM @IonicBurger对于新的 2020 年 GOOGLE PLAY 控制台,请参阅@IonicBurger 的回答

No, unfortunately.不,不幸的是。

The Android Developer Console is a real disaster, everywhere you look there is something that needs to be fixed or improved, being this issue you mention one of them. Android 开发者控制台是一场真正的灾难,你所看到的任何地方都有一些需要修复或改进的地方,你提到的这个问题就是其中之一。 Unfortunately for the time being you're out of luck.不幸的是,你暂时不走运。 Unless Google enables this, you cannot download old APKS's.除非 Google 启用此功能,否则您无法下载旧版 APKS。 I suppose you could recompile the old code, but I guess you don't have that either and that's why you are here :-)我想你可以重新编译旧代码,但我想你也没有,这就是你在这里的原因:-)

Latest Update:最新更新:

Go to

Developer Console => App releases => Production (Manage Production) => Release history => Select the version that you want => Click on Download button.开发者控制台 => 应用发布 => 生产(管理生产) => 发布历史 => 选择您想要的版本 => 单击下载按钮。

Your account should be granted with full permissions, otherwise the download button will be hidden.您的帐户应该被授予完全权限,否则下载按钮将被隐藏。

Original Answer原答案

Go to

Developer Console => Manage Releases => Artifact Library = > Archived Artifacts开发者控制台 => 管理发布 => 工件库 => 存档工件

You get the option to download the previous releases.您可以选择下载以前的版本。

Update:更新:

Go to

Developer Console => App releases => Artifact library => Check the version code/name you wanna download and click the download button at the right.开发者控制台 => 应用发布 => 工件库 => 检查您要下载的版本代码/名称,然后单击右侧的下载按钮。

** Update: ** ** 更新: **

Developer Console => App releases => Production (Manage Production) => Download arrow.开发者控制台 => 应用发布 => 生产(管理生产)=> 下载箭头。

And yet again - this question needs a newer answer, with the latest update of the Google Play Console, 2020.再一次 - 这个问题需要一个更新的答案,谷歌游戏控制台的最新更新,2020。

The steps to now follow are, in the console, go to: App bundle explorer现在要遵循的步骤是,在控制台中,转到:App bundle explorer

在此处输入图片说明

On the top right corner, pick the artifact you want to download, then go to the Downloads tab.在右上角,选择要下载的工件,然后转到“下载”选项卡。 Scroll down to Assets, and look for the first entry in the table Original file.向下滚动到资产,并在原始文件表中查找第一个条目。 Click on the download icon to the right to download your APK or AAB file单击右侧的下载图标下载您的 APK 或 AAB 文件

在此处输入图片说明

It's possible nowadays .今天是可能的

See screenshot below for clear picture.请参阅下面的屏幕截图以获得清晰的图片。

Google added "Manage" option inside "App Release" of Google Play Developer Console. Google 在 Google Play Developer Console 的“App Release”中添加了“Manage”选项。 From Manage tab, you can see Release History and download your app's APK.在“管理”选项卡中,您可以查看发布历史记录并下载您应用的 APK。

VISUAL EXPLANATION:: See 2 step process below.视觉解释:请参阅下面的 2 步过程。

Step1: Go to Manage第一步:进入管理第一步:进入管理 Step 2: Goto Release History Section -> Select version-> Download Apk第 2 步:转到发布历史部分 -> 选择版本 -> 下载 Apk

第 2 步:转到发布历史部分 -> 选择版本 -> 下载 Apk

It's easy:这很容易:

1- click on App bundle explorer, then select your desired version as shown: 1- 点击 App bundle explorer,然后点击 select 你想要的版本,如图所示:

在此处输入图像描述

2- Click on blue arrow in front of the version you want to download: 2- 单击您要下载的版本前面的蓝色箭头: 在此处输入图像描述

3- Select Download tab then click on download icon of apk: 3- Select 下载选项卡,然后单击 apk 的下载图标: 在此处输入图像描述

Screenshot of tesla's correct answer.特斯拉正确答案截图。 I had a little trouble finding the download icon:我在找到下载图标时遇到了一些麻烦:

点击哪里下载apk

It is possible to install old APK via link from Google Play Console.可以通过 Google Play Console 中的链接安装旧版 APK。 This way you install straight from Play Store rather than downloading the APK.这样您就可以直接从 Play 商店安装而不是下载 APK。 This also works with app bundle which allows you to get optimized APK for your device.这也适用于 app bundle,它允许您为您的设备获得优化的 APK。

  1. In Google Play Console go to Development tools > Internal app sharing > Manage Testers在 Google Play Console 中,转到开发工具 > 内部应用共享 > 管理测试人员
  2. Add all testers you want to allow access to install old version of the app添加您希望允许访问安装旧版本应用程序的所有测试人员
  3. If you upload app bundle you can go to Release management > Artifact library > Explore on the version you want.如果您上传 app bundle,您可以转到 Release management > Artifact library > Explore 您想要的版本。
  4. The link shall be listed in Internal app sharing section.该链接应列在内部应用程序共享部分。 Here is the format if you cannot find the link (Be sure to replace to your applicationId and the versionCode for your app) https://play.google.com/apps/test/ applicationId / versionCode这里是如果你不能找到链接(一定要更换你的applicationID和的versionCode为您的应用程序)的格式https://play.google.com/apps/test/的applicationID /的versionCode
  5. When you click the link on you device for the first time play store will say Internal app sharing is not enabled.当您第一次单击设备上的链接时,Play 商店会显示未启用内部应用程序共享。
  6. To enable Internal app sharing open Play Store > Settings要启用内部应用共享,请打开 Play 商店 > 设置
  7. Scroll all the way down and keep clicking on Play Store version to enable developer mode一直向下滚动并继续点击 Play Store 版本以启用开发者模式
  8. Once developer mode is enabled you will see Internal app sharing switch in the settings once enabled you will be able install your app from the link.启用开发者模式后,您将在设置中看到内部应用程序共享开关,启用后您就可以从链接安装您的应用程序。

FYI: I have seen some version not working if they were not released to production track.仅供参考:我看到有些版本如果没有发布到生产轨道就无法工作。 I am able to install all my production tracks also any active artifacts listed in Artifact library in Google Play Console.我能够安装我所有的制作曲目以及 Google Play 控制台中的工件库中列出的任何活动工件。 This should be enough if you are trying to test upgrade scenarios.如果您尝试测试升级方案,这应该足够了。

I'll show you with screenshots, step by step:我将通过屏幕截图逐步向您展示:

  1. Go to Production:进入生产: 生产部

  2. Go to Releases tab and click on "View release details"转到“发布”选项卡,然后单击“查看发布详细信息” 查看发布详情

  3. In "App bundles" part, click on arrow:在“App bundles”部分,点击箭头: 应用程序包部分

  4. Into APK, click on "Explore Apk"进入APK,点击“Explore Apk” 探索 Apk

  5. In Dowloads tab, click on "download" icon:在下载选项卡中,单击“下载”图标: 在此处输入图片说明

That's it.而已。

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

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