Different app names for different build flavors?

前端 未结 9 1725
-上瘾入骨i
-上瘾入骨i 2020-12-07 11:07

I have 2 build flavors, say, flavor1 and flavor2.

I would like my application to be named, say, \"AppFlavor1\" when I build for flavor1 an

9条回答
  •  没有蜡笔的小新
    2020-12-07 11:11

    In AndroidManifest file, in the application tag you have this line:

    android:label
    

    And there you can say how to application label will appear in applications menu on device

提交回复
热议问题