Skip to content

Unable to upgrade Flutter: The Flutter SDK is tracking a non-standard remote #98020

@nicolasvac

Description

@nicolasvac

Steps to Reproduce

  1. Execute flutter upgrade

Expected results: The flutter tool upgrades.

Actual results: It says i am tracking a different repo for upgrade when the URLs are equal.

>flutter upgrade
Unable to upgrade Flutter: The Flutter SDK is tracking a non-standard remote "ssh://[email protected]/flutter/flutter.git".
Set the environment variable "FLUTTER_GIT_URL" to "ssh://[email protected]/flutter/flutter.git", and retry. Alternatively, re-install Flutter by going to https://flutter.dev/docs/get-started/install.
If this is intentional, it is recommended to use "git" directly to keep Flutter SDK up-to date.
Logs
[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Versione 10.0.19044.1503], locale it-IT)
    • Flutter version 2.8.1 at C:\flutter
    • Upstream repository ssh://[email protected]/flutter/flutter.git
    • Framework revision 77d935af4d (8 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\nicol\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Users\nicol\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\211.7628.21.2111.8139111
    • Flutter plugin version 64.0.2
    • Dart plugin version 211.7798
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at C:\Users\nicol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\213.6777.52
    • 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

[√] VS Code (version 1.64.0)
    • VS Code at C:\Users\nicol\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.34.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.81
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 97.0.1072.76

! Doctor found issues in 1 category.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions