You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current argument --sdk returns multiple other arguments/aliases that could be something you probably meant and the script thinks that --sdk is only a prefix to something. I changed it to --sdkver, however I'm not sure if this could be a good pr. Instead maybe fixing the script to accept the argument is the right solution.
p4a apk: error: ambiguous option: --sdk could match --sdk-dir, --sdk_dir
Activity
inclement commentedon Jul 3, 2016
I'm not clear here, what do you intend --sdk to do? There isn't a --sdk option.
KeyWeeUsr commentedon Jul 3, 2016
It's in
build.pywhich should set the targeting api i.e.--sdk 14or is it something from old toolchain?inclement commentedon Jul 3, 2016
Oh, I see. This seems like a funny problem actually - is argparse disallowing the option because it looks like a valid one?
inclement commentedon Jul 3, 2016
https://docs.python.org/3/library/argparse.html#argument-abbreviations-prefix-matching <- the answer is yes. I'll disable this behaviour.
inclement commentedon Jul 3, 2016
I've just pushed a fix to master, does it work now?
KeyWeeUsr commentedon Jul 3, 2016
Yup, works now, thanks! :)
inclement commentedon Jul 3, 2016
Great. Thanks for all the bug reports as well!