Skip to content

Make android install and run commands infer location of adb from SDK #20219

Closed

Description

@jdm

Whenever I do an android build for the first time, I never remember to set up my path correctly. We already know information about the location of the SDK (from self.config['android']['sdk']), so we should be able to notice if invoking adb fails and attempt to run it from the SDK location manually.

Code: python/servo/post_build_commands.py

This will be easiest for someone to attempt if they have a working android build already.

Activity

  1. added
    I-papercut
    P-android
    E-more-complex
    L-python
    on Mar 6, 2018
  2. highfive commented on Mar 6, 2018

    @highfive

    cc @wafflespeanut

  3. talklittle commented on Mar 24, 2018

    @talklittle
    Contributor

    I've got a patch ready for this, just trying to fix unrelated Mach build errors so I can check the boxes in the PR template.

    https://github.com/talklittle/servo/tree/issue-20219

    Edit: PR ready: #20421

  4. added
    C-assigned
    on Mar 25, 2018
  5. added
    C-has-open-pr
    on May 22, 2018
  6. added a commit that references this issue on May 29, 2018
    5d97bc9
  7. added a commit that references this issue on Jun 19, 2018
    c2d3f2a
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

    C-assignedC-has-open-prE-more-complexI-papercutL-pythonP-android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions