Can not include an android library module

Hello, I’m trying to include an android library module to an existing openframeworks project. But as soon as i change the settings.gradle adding ->
include ‘:mylib’

project will not build anymore. It stops in ->

with error ->
Error:(157, 0) make failed with exit status 2

any help will be really appreciated.

Well, I figured out what was wrong. It was because of a dependency used in library module for unit testing.