You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build an android app release bundle with gradle, and create release APKs. For my testing I'm in the androidx repository and built a sample app into a release app bundle:
There's 30KB of compressed bundletool and manifest metadata (3rd column), even though I'm not passing --local-testing (which appears to do very little at changing quantities of metadata)
Knowing that I'm using debug keys, and that this is a trivial sample, I took to dumping metadata from production apps on my device, and found most apps retaining much more. Note that this affects 1P google apps, so it wouldn't be an issue with what AGP puts into the bundle.
I wrote a script to capture the amount on apps on my device, to remove any issue with me configuring bundletool incorrectly which shows e.g. 200KB of metadata for nexuslauncher and 100KB for discord dumpMetadataCost.zip
Describe the bug
Bundletool version(s) affected
Version: 1.15.6
To Reproduce
There's 30KB of compressed bundletool and manifest metadata (3rd column), even though I'm not passing
--local-testing
(which appears to do very little at changing quantities of metadata)Knowing that I'm using debug keys, and that this is a trivial sample, I took to dumping metadata from production apps on my device, and found most apps retaining much more. Note that this affects 1P google apps, so it wouldn't be an issue with what AGP puts into the bundle.
I wrote a script to capture the amount on apps on my device, to remove any issue with me configuring bundletool incorrectly which shows e.g. 200KB of metadata for nexuslauncher and 100KB for discord
dumpMetadataCost.zip
Google internal equivalent links: script sample output
Expected behavior
Minimal amounts of metadata ends up in output APKs, e.g. 1KB
Known workaround
Manually removing metadata from bundle before running
Environment:
OS: glinux
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: