从Bamboo运行时,在根项目中找不到任务'assemble'

时间:2017-06-30 10:22:59

标签: android gradle build bamboo assemble

该项目从我的AndroidStudio运行,但当我尝试从我的构建机器运行它时,我收到此错误:

30-Jun-2017 12:04:27    FAILURE: Build failed with an exception.
30-Jun-2017 12:04:27    
30-Jun-2017 12:04:27    * What went wrong:
30-Jun-2017 12:04:27    Task 'assemble' not found in root project 'VMOD-VAD-VRANDROID'.
30-Jun-2017 12:04:27    
30-Jun-2017 12:04:27    * Try:
30-Jun-2017 12:04:27    Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
30-Jun-2017 12:04:27    
30-Jun-2017 12:04:27    BUILD FAILED
30-Jun-2017 12:04:27    
30-Jun-2017 12:04:27    Total time: 53.372 secs

现在我不明白assemble是什么,我在哪里可以找到它以及如何解决这个问题?

我有另一个有效的竹子项目,并在其中搜索汇编,但一无所获,有人可以向我解释那是什么吗?

1 个答案:

答案 0 :(得分:1)

我在gitignore中有以下两个文件:

gradlew.bat
settings.gradle