Skip to content

flutter upgrade gives wrong error with detached head: "Unable to upgrade Flutter: no origin repository configured" #56853

@iyuhang

Description

@iyuhang

Steps to Reproduce

  1. upgrade from v1.12.13+hotfix.9 to 1.17.0
  2. use flutter downgrade to v1.12.13+hotfix.9
  3. run on iOS

Logs

Xcode build done.                                           29.4s
[VERBOSE-2:shell.cc(199)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[VERBOSE-2:engine.cc(198)] Could not prepare to run the isolate.
[VERBOSE-2:engine.cc(137)] Engine not prepare and launch isolate.
[VERBOSE-2:shell.cc(437)] Could not launch engine with configuration.
[✓] Flutter (Channel unknown, v1.12.13+hotfix.9, on Mac OS X 10.14.6 18G87, locale en-US)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.44.2)
[✓] Connected device (2 available)

Metadata

Metadata

Labels

found in release: 1.17Found to occur in 1.17toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions