user3586231 user3586231 - 1 month ago 4x
Android Question

Android how to manage project name and logo and application icon for different clients

As per need i need to manage one project for different clients in which i usually need to change application icon, app name and client logo. what is the efficient way to handle this??

I have read about properties file in the Android but that does provide option to change application icon and name.. it there any why to handle this.


To achieve this you will to have use flavour in your project, if you are using Android studio add the following code in your build.gradle file.

productFlavors {
    flavor1 {
        applicationId ""
    flavor2 {
        applicationId ""

Then create directory structure like

flavor1>res>drawable-XXX>ic_launcher.png (app icon for client1)
flavor2>res>drawable-XXX>ic_launcher.png (app icon for client2)

For more you can refer to this blog