Skip to content

Could not find package sky_engine in the Flutter SDK (MacOS) #127281

@ThibautTrarbach

Description

@ThibautTrarbach

Is there an existing issue for this?

Steps to reproduce

(Only on MacOS)

  • Install Flutter Master
  • Create New Project
  • Run Pub Get

Actual results

Hello,
For about a week, I can no longer use flutter on my macos runner. I have this error that keeps coming back.

Because every version of flutter from sdk depends on sky_engine from sdk which doesn't exist (could not find package sky_engine in the Flutter SDK), flutter from sdk is forbidden.
So, because jeemate depends on flutter from sdk, version solving failed.

For information this is only produced on macOS.
I tried flutter clean, reinstall flutter. So I come to you for some help.

Logs

Logs

flutter --verbose create foo

Flutter Doctor output

Doctor output
[✓] Flutter (Channel master, 3.11.0-10.0.pre.44, on macOS 13.4 22F66 darwin-x64, locale en-US)
    • Flutter version 3.11.0-10.0.pre.44 on channel master at /Volumes/SSD/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ab573048e7 (9 hours ago), 2023-05-20 11:32:26 -0400
    • Engine revision aac0919568
    • Dart version 3.1.0 (build 3.1.0-129.0.dev)
    • DevTools version 2.23.1

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/thibaut.trarbach/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Connected device (1 available)
    • macOS (desktop) • macos • darwin-x64 • macOS 13.4 22F66 darwin-x64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-macBuilding on or for macOS specificallyr: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions