Now I have to download and install the Android SDK and AVD Manager, and then install the APIs, tools through the UI. Is there a way to automate this process?
Starting with Android Plugin for Gradle version 2.2.0, missing SDK components get downloaded automatically.