Unable to switch to debug build variant in Android Studio

后端 未结 16 943
不知归路
不知归路 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:01

    I had a similar problem where most of the Build menu items were greyed out.

    'Sync project with Gradle files' didn't fix.

    I noticed a 'Build Variants' toggle button on the bottom left of Android Studio (v 3.1.2) and with this was finally able to choose the variant I needed.

    Maybe this will work for you too.

提交回复
热议问题