Skip to content

Android Studio displays warning when opened from VSCode #5447

Closed

Description

@woprandi

Describe the bug
Android Studio displays warning when opened from VSCode because VSCode seems to launch with the shell script studio.sh instead of studio binary.
The line https://github.com/Dart-Code/Dart-Code/blob/master/src/shared/constants.ts#L23 let me think studio.sh has greater priority than studio. Maybe just swap ?

To Reproduce
Steps to reproduce the behavior:

  1. Open flutter project with VSCode
  2. Right click on android folder > Open in Android Studio
  3. Android Studio will displays the warning

Expected behavior
No warning

Screenshots

Image

Please complete the following information:

  • Operating System and version: Fedora 41 Silverblue
  • VS Code version: 1.98.2
  • Dart extension version: 3.106.0
  • Dart/Flutter SDK version:
  • Target device (if the issue relates to Flutter debugging):

Activity

  1. added this to the v3.108.0 milestone on Mar 20, 2025
  2. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    and removed on Mar 20, 2025
  3. DanTup commented on Mar 20, 2025

    @DanTup
    Member

    @davidmartos96 submitted a PR at #5448 that fixes this. Thanks!

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

    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions