-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(android): restrict android run command to configured flavour #5256
fix(android): restrict android run command to configured flavour #5256
Conversation
@@ -19,7 +19,8 @@ export async function runAndroid( | |||
selectedTarget, | |||
); | |||
|
|||
const gradleArgs = ['assembleDebug']; | |||
const arg = `assemble${config.android?.flavor || ''}Debug`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandor-biro You still need the word Debug
, the correct argument is actually assembleFlavorDebug
where Flavor
is the value from the config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug word is at the end of the template string, so if there is a flavor it will be assembleFlavorNameDebug and if not assembleDebug
Can you run |
Solves request: #5252
Live reload should now work with any
productFlavor
.