Install Android App Bundle on device

后端 未结 7 1543
囚心锁ツ
囚心锁ツ 2021-01-30 03:43

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

7条回答
  •  遥遥无期
    2021-01-30 04:21

    Short answer:

    Not directly.

    Longer answer:

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

    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.

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

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

提交回复
热议问题