-
Notifications
You must be signed in to change notification settings - Fork 642
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
Android builds: Failure when providing Cordova/Gradle arguments #2254
Comments
@zarko-tg Interesting. So there was a bug related to not being able to handle the extra options. But then I realized we're going to have to do something a bit... odd. The We are wrapping this yet further by slapping To pass options unparsed to Cordova, one would do: But, to mark unparsed options for Cordova Android, one must first also mark unparsed options for Cordova. So we get a double
To run the command you want to run at the top of your issue, one would do this: This is what happens when you wrap several tools into one! 😄 Very confusing. But that's sort of the nature of the beast. The Cordova docs I linked to show alternative ways to configure gradle. But we're still interested in having it work for our users solely via command line. I've just pushed a fix, would you be willing to give it a try?
|
I can confirm the command with "-- --" works as expected with ionic@canary. |
#2354 for iOS seems similar to this. |
Cannot build for Android when providing additional arguments (Cordova/Gradle). Problem that came with ionic@3.0.0
Remove everything after "--release" in the command and everything's fine.
global packages:
local packages:
System:
The text was updated successfully, but these errors were encountered: