在最新检查期间无法捕获任务':app:compileDebugKotlin'属性'classpath'的输入文件的快照

时间:2019-01-13 13:46:17

标签: android gradle kotlin build.gradle

问题:

当我使用命令来构建kotlin android项目时,kaptGenerateStubsDebugKotlin任务失败。

我试图通过Azure DevOps服务管道自动构建,测试和部署Android应用,并且我将Ubuntu服务器用作代理程序池

环境:

操作系统:Ubuntu 14.04 Gradle 版本:4.9 koltin 版本:1.2.71

构建日志

> Task :app:kaptGenerateStubsDebugKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Failed to capture snapshot of input files for task ':app:kaptGenerateStubsDebugKotlin' property 'classpath' during up-to-date check.
> Could not list contents of '/usr/bin/vmware-user'. Couldn't follow symbolic link.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
13 actionable tasks: 13 executed

注意:我试图授予所有输入文件的完全许可权,但没有成功

0 个答案:

没有答案