TeamCity has no special support to build Android projects primarily because the tooling is very similar to other Java projects. Android projects generally use Maven or Gradle as the build tools, both of which were covered in Chapter 4, TeamCity for Java Projects. In this section, we will take a look at setting up the CI for a sample Gradle-based Android application.
The sample application that we will use is Android_CI_Example
located at https://github.com/manojlds/android_ci_example.
Note
The sample application was created using the Android Studio IDE. Android Studio is an IDE focused on Android development based on the IntelliJ IDEA platform (from Jetbrains). As of this writing, the IDE is still in Early Access Preview and has a few kinks to be worked out. More details about Android Studio can be obtained at http://developer.android.com/sdk/installing/studio.html.