android - Gradle with Flavors configuration -


i read lot of posts here e couldn't find way it, want define "res" debug per flavor, like:

+ src + main     + java      + res + flavor1     + release         + res     + debug         + res + flavor2     + release         + res     + debug         + res 

the reason have ic_launcher each buildtypes , , each flavor has own ic_launcher, need have de release , debug ic_launcher per flavor.

is possible?

it's possible following namings:

  • flavor1release
  • flavor1debug
  • flavor2release
  • flavor2debug

put in every directory result folder , specific launcher icon. can switch build type , system select correct one


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -