Closed Bencodes closed 2 years ago
Thank you for the report. The correct way of doing this is using uncompressedGlob
option which is mentioned in the workaround.
We don't plan to change bundletool behaviour for uncompressed resources at the moment because this will be a breaking change for bundletool.
Describe the bug
With the default configuration, bundle tool will compress raw values that should not be compressed. It would be great to mirror the default AAPT2 no-compress settings to avoid unnecessary mistakes when migrating to app bundles.
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/tools/aapt2/cmd/Link.cpp#2403
Bundletool version(s) affected Version: 1.8.1
Stacktrace
To Reproduce
Use bundle tool CLI to generate an APK that has raw Android values that should be uncompressed in the APK.
Known workaround
Manually list the no-compress extensions in your bundlle_config: