Skip to content

Atom ⌘-R fails if there's another Flutter app running in background on the Android device #1988

Closed

Description

@collinjackson

It complains that the Observatory port is in use and shows a black screen (because Atom launches the app with --start-paused)

Activity

  1. devoncarew commented on Feb 18, 2016

    @devoncarew
    Contributor

    Hmm, right now sky shell on android starts the observatory listening to a fixed port - 8181. We change which host port we map this to in order to support the user running multiple apps at the same time, but just one app per device. Should we or do we need to support running multiple apps per device? It would require a bit more additional plumbing and complexity.

  2. collinjackson commented on Feb 18, 2016

    @collinjackson
    ContributorAuthor

    I think it's reasonable to expect that developers will want to run multiple apps per device. I certainly do.

  3. johnmccutchan commented on Feb 18, 2016

    @johnmccutchan
    Contributor

    I'll take this one.

  4. devoncarew commented on Feb 18, 2016

    @devoncarew
    Contributor

    The tricky part here will be communicating the port number back to the clients that need to know it.

  5. abarth commented on Feb 18, 2016

    @abarth
    Contributor

    We could pick a random one and retry on failure.

  6. modified the milestone: on Feb 19, 2016
  7. modified the milestones: Hackathon, on Feb 19, 2016
  8. 1 remaining item

  9. removed this from the Hackathon milestone on Feb 25, 2016
  10. eseidelGoogle commented on Mar 4, 2016

    @eseidelGoogle
    Contributor

    @turnidge just hit this as well.

  11. eseidelGoogle commented on Mar 4, 2016

    @eseidelGoogle
    Contributor

    Is this a dupe of #2188 ?

  12. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    and removed
    c: new featureNothing broken; request for a new capability
    on Mar 4, 2016
  13. modified the milestones: Codelab for AAR, on Mar 4, 2016
  14. collinjackson commented on Mar 4, 2016

    @collinjackson
    ContributorAuthor

    Yes, technically #2188 is a dupe of this, since this was filed later :)

    but yeah, it's the same issue

  15. eseidelGoogle commented on Mar 17, 2016

    @eseidelGoogle
    Contributor

    ❤️ Thank you @johnmccutchan!

  16. sethladd commented on Mar 17, 2016

    @sethladd
    Contributor

    👍

  17. github-actions commented on Sep 6, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  18. locked as resolved and limited conversation to collaborators on Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions