If you don't have it, download Android Studio. If you do have Android Studio, verify that it is the latest stable release by clicking Help > Check for Updates (on Mac, Android Studio > Check for Updates).
Alternatively, from the Welcome screen, click Import project (Gradle, Eclipse ADT, etc.).
settings.gradlefile and click Ok.