Skip to content

Android Studio displays warning when opened from VSCode #5447

@woprandi

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):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions