Issue
This Content is from Stack Overflow. Question asked by shubham saxena
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?
Solution
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.