# LibGDX Android project in IntelliJ

I've created a LibGDX project. I imported the build.gradle. The core and desktop modules are imported successfully, but the android not. So I add the content roots. The project compiles, I could build an apk as well via gradle build, but the libgdx android libraries are not imported by the IDE, so classes like com.badlogic.gdx.backends.android.AndroidApplication are unresolved. This wasn't a problem so far, because it compiles, but now I'd like to develop Android specific code, so the code completion would be great. Any ideas how I could add the relevant dependencies from the build.gradle?