Building and Running

At this point, you have successfully created an Android project containing one screen. In the previous chapter, you also learned how to set up your working environment. We showed you how simple it is to use Android tools. You also defined some flavors and build types. Let's take control over it! It's time to do your first build and run it on a device or an emulator. You will try it with all build types and flavor combinations.

This chapter will cover the following points:

  • Running your application on emulator and/or real hardware device
  • Introduction to Logcat
  • Gradle tool

Get Mastering Android Development with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.