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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -