简体   繁体   中英

Using Jenkins to build a android project fails

I'm trying to make Jenkins successfully build my project, but I'm getting this error:

* What went wrong:
A problem occurred configuring project ':mobile'.
> Cannot evaluate module matrix : Configuration with name 'default' not found.

Any idea of what the error is?

Does your project have submodules?

I've seen this error in a case where Jenkins checked out the code, but I had not enabled submodules in the Git plugin.

You just need to click on Add under "Additional behaviours", choose "Advanced sub-modules behaviours" and check "Recursively update submodules".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM