Book Image

Learning Continuous Integration with TeamCity

Book Image

Learning Continuous Integration with TeamCity

Overview of this book

Table of Contents (19 chapters)
Learning Continuous Integration with TeamCity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

CI for Android projects


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.

Generating the APK

We will begin by creating a new project named Android CI for TeamCity. Next, we will...