Multi project build - 3 levels

(Matias) #1

Hi everyone,

I’m having troubles with a multi-project respository with 3 levels. Android studio not recognize the 3 level module as a submodule.

Organized in this form:

  • Project

– app
— build.gradle

– library
— build.gradle

– subProject-1

— subProject-1-lib
---- build.gradle

— subProject-2

---- subProject-2-lib
----- build.gradle

---- settings.gradle

— settings.gradle

– Settings.gradle

If you need more info please let me know. Thanks!

(James Justinic) #2

It appears that you’re trying to include the projects at each level in a different settings.gradle file. A standard multi-project build should contain only one settings.gradle in the main project folder that includes projects at all levels.