andreich
andreich

Reputation: 1250

Gradle don't sees root module

There is the structure the project

MainProgect(He also root of the whole project)

    --SubProgectLib    
        build.gradle

    --SubProgectLib2    
        build.gradle

    --src
    --res

    AndroidManifest.xml
    settings.gradle
    build.gradle

In file settings.gradle

include ':SubProgectLib'
include ':SubProgectLib2'

MainProject build.gradle :

If I synchronize gralde, then MainProgect disappears as module.
Gradle error does not issue

Upvotes: 0

Views: 56

Answers (1)

Scott Barta
Scott Barta

Reputation: 80020

Try adding this to your settings.gradle:

include ':'

Upvotes: 1

Related Questions