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

ndk-build,cargo-apk: Disable aapt compression for the dev profile #283

Merged
merged 1 commit into from
Jun 10, 2022

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 (`""`).
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.

2 participants