An Android Studio plugin that provides a simple and efficient way to switch between build variants using a dropdown menu in the main toolbar.
In a typical Android development workflow, switching between build variants requires navigating to the "Build Variants" tool window and selecting the desired option. This process can be slow and interrupt your coding flow, especially if you need to switch variants frequently.
This plugin streamlines that process by adding a dedicated dropdown menu to the main toolbar. This allows you to see the current build variant at a glance and switch to a different one with a single click, saving you time and effort.
- Quick Variant Switching: A dropdown in the main toolbar lists all available build variants for the current project.
- Easy to Use: Simply select the desired variant from the list to initiate a Gradle sync.
- Seamless Integration: The plugin integrates directly into the Android Studio toolbar for a native feel.
You can install the plugin directly from the JetBrains Marketplace:
Install from JetBrains Marketplace
Alternatively, you can install it from within Android Studio:
- Open Android Studio and go to File > Settings (or Android Studio > Preferences on macOS).
- Navigate to the Plugins section.
- Click on the Marketplace tab.
- Search for "Android Build Variant Selector".
- Click the Install button next to the plugin.
- Restart Android Studio to complete the installation.
- Once installed and enabled, a new dropdown menu will appear in the main toolbar.
- This dropdown will automatically be populated with all the build variants defined in your project's
build.gradlefile (e.g.,debug,release,demoDebug). - Click on the dropdown to see the list of available variants.
- Select the build variant you want to switch to.
- The project will automatically sync with the newly selected build variant.
This project is licensed under the MIT License.
