Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample code at app-bundle-samples/PlayAssetDelivery/NativeSample/ not generating all standalone apks #119

Open
shubham-s opened this issue Sep 15, 2022 · 1 comment

Comments

@shubham-s
Copy link

shubham-s commented Sep 15, 2022

I am trying to use the sample code located here - https://github.com/android/app-bundle-samples/tree/main/PlayAssetDelivery/NativeSample to get an understanding of App Bundles.

According to the documentation when the minSDK Version is less than 21, the Bundle shall generate standalone apks for every ABI-DPI combination. In this case when we are generating the standalone apks using the following command -

Bundletool build-apks --bundle=Teapot-release.aab --output=output.apks

Bundletool Version - 1.11.0

The Standalones folder just generates a single standalone apk.

On debugging further it seems like the bundle config has this set for Standalone Dimensions -

    "standaloneConfig": {
      "splitDimension": [{
        "value": "ABI",
        "negate": true
      }, {
        "value": "SCREEN_DENSITY",
        "negate": true
      }, {
        "value": "LANGUAGE",
        "negate": true
      }, {
        "value": "TEXTURE_COMPRESSION_FORMAT",
        "negate": true
      }],
      "strip64BitLibraries": true
    }
  },

However when I set the minSdk value >=21, in that case the StandaloneConfig is empty. I donot see a place where these standalone configuration is being set. Am I missing something over here?

@shubham-s
Copy link
Author

Hi Team. Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant