Skip to content

Can't target api, --sdk argument broken #813

Closed

Description

@KeyWeeUsr

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

  1. inclement commented on Jul 3, 2016

    @inclement
    Member

    I'm not clear here, what do you intend --sdk to do? There isn't a --sdk option.

  2. KeyWeeUsr commented on Jul 3, 2016

    @KeyWeeUsr
    ContributorAuthor

    It's in build.py which should set the targeting api i.e. --sdk 14 or is it something from old toolchain?

  3. inclement commented on Jul 3, 2016

    @inclement
    Member

    Oh, I see. This seems like a funny problem actually - is argparse disallowing the option because it looks like a valid one?

  4. inclement commented on Jul 3, 2016

    @inclement
    Member
  5. inclement commented on Jul 3, 2016

    @inclement
    Member

    I've just pushed a fix to master, does it work now?

  6. KeyWeeUsr commented on Jul 3, 2016

    @KeyWeeUsr
    ContributorAuthor

    Yup, works now, thanks! :)

  7. inclement commented on Jul 3, 2016

    @inclement
    Member

    Great. Thanks for all the bug reports as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions