Skip to content

Errors from starting intent on Android are not caught and cause "flutter run" to hang #89887

Description

@Hixie

I had an app installed in my "work" profile on my Android phone, and tried to flutter run --profile the app to that phone. It failed with the following (captured later with --verbose) and just hung:

[  +47 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.iosjank/.MainActivity (has extras) }

           Error type 3
           Error: Activity class {com.example.iosjank/com.example.iosjank.MainActivity} does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: qualityA truly polished experienceplatform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions