Setup Build Types on Fabric in Android Project

Find out
Normally in a project, Build Type is used for different development stages, such as Debug and Release. In practical, Debug might output some logs. But basically Debug and Release are considered as a same application.

Product flavors can let your application have different versions, such as free or paid.

Build Types

  • App packaging
  • proguard file


With productFlavor, you can setup

  • Diff config
  • Diff app name
  • Diff version

Also you can set a different value on applicationId, minSdkVersion, targetSdkVersion, versionCode and versionName.

To add a new flavor:

The approach is to use the Tools -> Build Flavors.

A full example on this:


About: arkilis

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.