Skip to content

Conversation

@MarijnS95
Copy link
Member

As suggested in #153:

Compressing multi-megabyte libraries in aapt is a singlethreaded process that takes many (tens of) seconds, for no apparent gain. It slows down the iterative development process significantly whereas there's no concern for adb transferring larger apks over even USB 2.0 (which is still much faster than the bandwidth aapt provides for compression) nor typically any space constraints on development devices.

@MarijnS95 MarijnS95 force-pushed the dev-no-aapt-compression branch 2 times, most recently from 1d69dd6 to a89e20e Compare June 5, 2022 14:07
@MarijnS95 MarijnS95 mentioned this pull request Jun 5, 2022
@MarijnS95 MarijnS95 force-pushed the dev-no-aapt-compression branch 2 times, most recently from 8a30fbf to f1121c0 Compare June 5, 2022 14:22
@MarijnS95 MarijnS95 force-pushed the dev-no-aapt-compression branch 2 times, most recently from 9eb745e to fd63485 Compare June 10, 2022 17:20
Compressing multi-megabyte libraries in `aapt` is a singlethreaded
process that takes many (tens of) seconds, for no apparent gain.  It
slows down the iterative development process significantly whereas
there's no concern for `adb` transferring larger `apk`s over even USB
2.0 (which is still much faster than the bandwidth `aapt` provides for
compression) nor typically any space constraints on development devices.

The `-0` option disables compression for all files with a given
extension, or all files when the argument is an empty string (`""`).
@MarijnS95 MarijnS95 force-pushed the dev-no-aapt-compression branch from fd63485 to 2e22314 Compare June 10, 2022 17:20
@MarijnS95 MarijnS95 merged commit 8da0967 into master Jun 10, 2022
@MarijnS95 MarijnS95 deleted the dev-no-aapt-compression branch June 10, 2022 17:58
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

Successfully merging this pull request may close these issues.

3 participants