Travis CI eval ./gradlew assemble 错误

发布时间:2020-06-16 15:59:46 作者:HoneyMoose
来源:网络 阅读:360

问题

在进行 Travis CI 进行集成编译的时候出现错误。

<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 2 of 3.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assemble' not found in root project 'asciidoc-docs'.
* Try:
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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 3 of 3.

具体的错误信息如下:

BUILD FAILED in 8s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 2 of 3.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assemble' not found in root project 'asciidoc-docs'.
* Try:
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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 3 of 3.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assemble' not found in root project 'asciidoc-docs'.
* Try:
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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed 3 times.
The command "./gradlew assemble" failed and exited with 1 during .
Your build has been stopped.

Travis CI eval ./gradlew assemble 错误

 

问题解决

请确定你的 .travis.yml 文件中有没有 gradlew 有没有 Gradle 的脚本。

你需要在 script 中配置脚本。


推荐阅读:
  1. 在Android中使用listview时出现滑动冲突如何解决
  2. android实现手机App实现拍照功能示例

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

travis gr sem

上一篇:pip使用国内镜像源的方法

下一篇:js导出excel

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》