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

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

Open
typ0520 opened this issue Jul 8, 2016 · 3 comments
Labels

Comments

@typ0520
Copy link

typ0520 commented Jul 8, 2016

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.

@galenlin
Copy link
Member

galenlin commented Jul 8, 2016

cleanLib,再buildLib试下

@galenlin galenlin added the FAQ label Jul 11, 2016
@chaoshuai
Copy link

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

@galenlin
Copy link
Member

galenlin commented Jul 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants