在设备上安装Android App Bundle [英] Install Android App Bundle on device

查看:598
本文介绍了在设备上安装Android App Bundle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用新的Android App Bundle格式构建了项目。使用APK文件,我可以将APK下载到我的设备上,打开它,然后立即安装该应用。我以捆绑(.aab格式)下载了我的应用,而运行Android 8.1的Nexus 5X无法打开该文件。是否可以通过与APK相同的便捷方式在设备上安装AAB?

I built my project using the new Android App Bundle format. With APK files, I can download the APK to my device, open it, and immediately install the app. I downloaded my app as a bundle (.aab format) and my Nexus 5X running Android 8.1 can't open the file. Is there any way to install AABs on devices in the same convenient manner as APKs?

推荐答案

简短答案:



不直接。

Short answer:

Not directly.

Android App Bundles是一种发布格式。 Android设备需要 .apk 文件来安装应用程序。

Android App Bundles is a publishing format. Android devices require .apk files to install applications.

您要从中安装的PlayStore或任何其他来源都需要从捆绑软件中提取apk,对每个apk进行签名,然后针对目标设备进行安装。

The PlayStore or any other source that you're installing from needs to extract apks from the bundle, sign each one and then install them specific to the target device.

从.aab到.apk的转换通过 bundletool 。

The conversion from .aab to .apk is done via bundletool.

您可以使用内部应用共享,将您的应用的可调试版本上载到Play商店并与测试人员共享。

You can use Internal App Sharing to upload a debuggable build of your app to the Play Store and share it with testers.

这篇关于在设备上安装Android App Bundle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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