How can I use Android aaptOptions?

前端 未结 2 1563
野的像风
野的像风 2021-01-04 01:35

What are the meaning of the aaptOptions.noCompress, etc.; can anybody explain them to me?

android {
    aaptOptions {
        noCompress \'foo\'         


        
2条回答
  •  孤街浪徒
    2021-01-04 01:52

    The ignoreAssetsPattern is only documented in the 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 "" to match only directories
     *   or  to match only files. Default is to match both.
     * - Entry can be a simplified glob "*" or "*"
     *   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.
    

提交回复
热议问题