Skip to content

argument "--machine" disables "--multidex" #3837

Closed
flutter/flutter
#101689

Description

@MCredbear

Describe the bug
As we know --machine is a default argument of this plugin (At spawnRunDaemon()), but it can fail --multidex which is a required one for new Android Apps.
Usually, --multidex is default to be enabled, and if it isn't enabled and it's required, the SDK would report.
But after adding --machine, although you have added --multidex, the SDK still tells yout to add it.

  • VSCodium version: 1.64.2
  • Dart extension version: 3.34.0
  • Dart/Flutter SDK version: 2.11.0-0.0.pre.501

Activity

  1. DanTup commented on Feb 22, 2022

    @DanTup
    Member

    I think this is something that will need handling in the flutter tool (https://github.com/flutter/flutter/). I'm not very familiar with multidex though - if you can provides steps for me to reproduce this issue I can have a look. Thanks!

  2. added
    awaiting infoRequires more information from the customer to progress
    on Feb 22, 2022
  3. MCredbear commented on Feb 23, 2022

    @MCredbear
    Author

    I think this is something that will need handling in the flutter tool (https://github.com/flutter/flutter/). I'm not very familiar with multidex though - if you can provides steps for me to reproduce this issue I can have a look. Thanks!

    This is my code: https://github.com/MCredbear/netease_cloudmusic_flutter
    Clone it and open it in VSCode, delete line 51 and 69 in android/app/build.gradle, then press F5, then you will see the error

  4. github-actions commented on Mar 16, 2022

    @github-actions

    This issue has been marked stale because it is tagged awaiting-info for 20 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.

  5. added and removed
    awaiting infoRequires more information from the customer to progress
    staleWill be closed soon if no response.
    on Mar 16, 2022
  6. added this to the On Deck milestone on Mar 16, 2022
  7. DanTup commented on Mar 16, 2022

    @DanTup
    Member

    Sorry I didn't respond - have started looking at this over at flutter/flutter#99010, but need some input from someone on the Flutter team. I've removed the awaiting-info tag and will update here when that progresses. Thanks!

  8. modified the milestones: On Deck, v3.40.0 on Apr 11, 2022
  9. added
    in flutterRelates to running Flutter apps
    and removed on Apr 11, 2022
  10. DanTup commented on Apr 11, 2022

    @DanTup
    Member

    Fixed by flutter/flutter#101689. Since the fix is in the Flutter SDK, it'll show up in a future Flutter release rather than a VS Code extension release.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions