gpt4 book ai didi

android - 如何使用 Android aaptOptions?

转载 作者:可可西里 更新时间:2023-11-01 18:47:23 24 4
gpt4 key购买 nike

aaptOptions.noCompress等是什么意思;谁能给我解释一下?

android {
aaptOptions {
noCompress 'foo', 'bar'
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~'
}
}

这会影响所有使用 aapt 的任务。

最佳答案

ignoreAssetsPattern 仅记录在 sources 中:

 * Patterns syntax:
* - Delimiter is :
* - Entry can start with the flag ! to avoid printing a warning
* about the file being ignored.
* - Entry can have the flag "<dir>" to match only directories
* or <file> to match only files. Default is to match both.
* - Entry can be a simplified glob "<prefix>*" or "*<suffix>"
* where prefix/suffix must have at least 1 character (so that
* we don't match a '*' catch-all pattern.)
* - The special filenames "." and ".." are always ignored.
* - Otherwise the full string is matched.
* - match is not case-sensitive.

关于android - 如何使用 Android aaptOptions?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28934333/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com