O'Reilly logo

Android Application Development with Maven by Patroklos Papapetrou, Jonathan LALOU

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Android Flavors

One of the problems that many Android developers have to deal with, regardless of the build tool they are using, is the ability to create different versions of their application based on the same code base with slightly different settings, set of features, and so on. In this chapter, we discuss how we can configure Maven to automate the process of creating different application versions. In particular, we cover the following:

  • Introduction to Maven profiles
  • Creating profiles with different package inclusions
  • Dynamically modifying project's package in manifest file
  • Managing Android libraries with Maven

Problem statement

Let's face the truth. Very few developers and no companies want to write code without getting paid. Android ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required