How can I have different manifest files for the release and debug versions?

后端 未结 3 1873
隐瞒了意图╮
隐瞒了意图╮ 2021-01-11 11:08

Is it possible to have different manifest files for the debug and release versions of my APK in Android Studio?

Normally I don\'t have need for such a such a thing b

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-11 12:02

    Create a "debug" folder under src/ and put it in there: https://github.com/androidfu/Now-Playing/tree/master/app/src

    My "release" manifest is in src/main/, but I'm pretty sure if you needed two wholly separate manifest files you could use src/release/ and src/debug/.

提交回复
热议问题