Removing AndroidManifest element with gradle product flavors

前端 未结 3 1997
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-04 10:01

I\'m setting up an Android gradle project with a few product flavors. I would like to have the

3条回答
  •  感情败类
    2021-01-04 10:40

    According to docs you can:

    1. remove permission with adding to your manifest something like this

    2. and declare separate AndroidManifest.xml parts for each flavor in src/myFlavor/AndroidManifest.xml which will be merged this main AndroidManifest.xml

提交回复
热议问题