Michael Osofsky
Michael Osofsky

Reputation: 13195

Select Build Variant menu item greyed out

In Android Studio 3.0.1 I tried to go to Build > Select Build Variant but the option "Select Build Variant" was greyed out. How do I access this menu option?

Upvotes: 28

Views: 6487

Answers (2)

MarQs1990
MarQs1990

Reputation: 21

Had the same problem. Switched to Android Level Level View and the menu wasn't greyed out any more

Upvotes: 2

Michael Osofsky
Michael Osofsky

Reputation: 13195

I found that the "Select Build Variant" menu item became available as long as I wasn't viewing the project-level build.gradle file. While editing the project-level build.gradle file, the menu option was grayed out. But if I opened a different file, for example a module-level build.gradle file, the "Select Build Variant" menu item became available.

Upvotes: 53

Related Questions