Skip to content

用最新的代码打开Sample工程执行buildLib报错,我用另外一台机器可以正常打包 #201

Open
@typ0520

Description

@typ0520

Error:FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':lib.utils:processReleaseResources'.

    In strict mode, we do not allow vendor aars, please declare them in host build.gradle:

    • compile('com.android.support:appcompat-v7:23.2.1')
      or turn off the strict mode in root build.gradle:
      small {
      strictSplitResources = false
      }
  • Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

2: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':lib.style:processReleaseResources'.

    In strict mode, we do not allow vendor aars, please declare them in host build.gradle:

    • compile('com.android.support:appcompat-v7:23.2.1')
      or turn off the strict mode in root build.gradle:
      small {
      strictSplitResources = false
      }
  • Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Activity

galenlin

galenlin commented on Jul 8, 2016

@galenlin
Member

cleanLib,再buildLib试下

chaoshuai

chaoshuai commented on Jul 4, 2017

@chaoshuai

@galenlin cleanLib,buildLib,很多次还是不管用

galenlin

galenlin commented on Jul 4, 2017

@galenlin
Member

@chaoshuai 把并行编译去掉,看下官网编译选项

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @typ0520@galenlin@chaoshuai

        Issue actions

          用最新的代码打开Sample工程执行buildLib报错,我用另外一台机器可以正常打包 · Issue #201 · wequick/Small