Install Android App Bundle on device

后端 未结 7 1539
囚心锁ツ
囚心锁ツ 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:03

    If you want to install apk from your aab to your device for testing purpose then you need to edit the configuration before running it on the connected device.

    1. Go to Edit Configurations
    2. Select the Deploy dropdown and change it from "Default apk" to "APK from app bundle".
    3. Apply the changes and then run it on the device connected. Build time will increase after making this change.

    This will install an apk directly on the device connected from the aab.

提交回复
热议问题