Unable to switch to debug build variant in Android Studio

后端 未结 16 780
不知归路
不知归路 2021-02-01 14:22

I\'ve switched to release build variant and configured signingConfigs. Now when I try to check the debug build variant from the drop down menu it switches immediately back to th

16条回答
  •  长发绾君心
    2021-02-01 15:22

    Open your module setting. (Click F4)

    Go to build types and create a new Build by clicking on plus(+) sign.

    Name it anything, like "demo".

    Duplicate all the data of debug build.

    Now when you open Build Variant you will be able to switch to Debug as well as Demo.

提交回复
热议问题