To measure the estimated download sizes of APKs in an APK set as they would be served
compressed over-the-wire, use the get-size total command: bundletool get-size total --apks=/MyApp/my_app.apks
You can modify the behavior of the get-size total command using the following flags:
Bundletool is capable of generating an APK set that targets a device configuration
specified by a JSON file. To first generate a JSON file for a connected device, run
the following command: