FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':process XXXX'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException:
Process 'command '/home/ android-studio/sdk/build-tools/21.1.1/aapt'' finished with non-zero exit value 1
* Try:
* What went wrong:
Execution failed for task ':process XXXX'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException:
Process 'command '/home/ android-studio/sdk/build-tools/21.1.1/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
红色代表是你的工程。
这问题特别SB。。。解决办法去android studio sdk manager那里把build-tools/21.1.1升级一下就好了。。。不知道为啥gradle同个版本要经常升级~