cmdを使用してこのコマンドからフラッターを更新しようとしました:
flutter upgrade
そして私は得ました:
Unable to upgrade Flutter: no origin repository configured. Run 'git remote add origin https://github.com/flutter/flutter' in C:\flutter
理由は何ですか?これを解決するにはどうすればよいですか?
試してみてくださいflutter doctor
、あなたは見るでしょうflutter channel unknown
。そのため、Flutterはgitを使用してフレームワークを管理し、checkout
別のコミットコード/タグをにflutter channel
変更するとunknown
。
これがあなたがしなければならないことです:
flutter channel stable
上で述べたようにstable
、チェックアウトするチャネルを変更する必要がある場合はflutter channel
、ターミナル/ cmdで使用可能なチャネルを参照してください)。
次に:
flutter upgrade
これですべてが機能するはずです。
以下を試していない場合:
ディレクトリにあり、upstream
によって設定されたフラッターフレームワークに移動しgit branch --set-upstream-to=origin/stable stable
ます。
これflutter channel stable
はgit checkout stable
、フラッターフレームワークにあるディレクトリで試行する場合と同等であることに注意してください。
すでに報告されている課題追跡システムから、この課題に関する詳細情報をご覧ください。
Windowsで修正しました。これはgitの問題だと思います。
PATH
最新のGit(私のものは2.25.1
、から更新されています1.18
)とが含まれていることを確認してくださいflutter\bin
。git clone https://github.com/flutter/flutter.git
flutter channel master
flutter doctor --android-licenses
flutter doctor -v
flutter upgrade
公式ウェブサイトの指示に従って、新しいubuntupcにフラッターをインストールしようとしました。 https://flutter.dev/docs/get-started/install/linux
私は、gitリポジトリのクローンを作成するのではなく、フラッターsdkをデバイスに直接ダウンロードするという最初の手順を実行しました。このため、私のIDEはフラッターバージョンに互換性がないという通知をポップし続けました。
インストールされているSDKファイルを削除し、gitリポジトリのクローンを作成する必要がありました。これはそれを魅力のように機能させました。
この問題を修正しました。フラッターチャネルを安定して実行しました。
以下の出力が得られました...
E:\flutter_Apps\flutter_app_dont_stare_v2>flutter channel stable
Warning! The 'flutter' tool you are currently running is from a different Flutter repository than the one last used by this package. The repository from which the 'flutter' tool is
currently executing will be used instead.
running Flutter tool: C:\src\flutter
previous reference : C:\flutter\flutter\flutter
This can happen when you have multiple copies of flutter installed. Please check your system path to verify that you are running the expected version (run 'flutter --version' to see
which flutter is on your path).
Switching to flutter channel 'stable'...
git: From https://github.com/flutter/flutter
git: * [new branch] Hixie-patch-1 -> origin/Hixie-patch-1
git: + d3ed9ec94...f994b7697 beta -> origin/beta (forced update)
git: * [new branch] dds_integration_take_2 -> origin/dds_integration_take_2
git: 7f56b53de..d9653445f dev -> origin/dev
git: d3ed9ec94..b041144f8 flutter-1.17-candidate.3 -> origin/flutter-1.17-candidate.3
git: * [new branch] flutter-1.18-candidate.10 -> origin/flutter-1.18-candidate.10
git: * [new branch] flutter-1.18-candidate.11 -> origin/flutter-1.18-candidate.11
git: * [new branch] flutter-1.18-candidate.12 -> origin/flutter-1.18-candidate.12
git: * [new branch] flutter-1.18-candidate.13 -> origin/flutter-1.18-candidate.13
git: * [new branch] flutter-1.18-candidate.6 -> origin/flutter-1.18-candidate.6
git: * [new branch] flutter-1.18-candidate.7 -> origin/flutter-1.18-candidate.7
git: * [new branch] flutter-1.18-candidate.8 -> origin/flutter-1.18-candidate.8
git: * [new branch] flutter-1.18-candidate.9 -> origin/flutter-1.18-candidate.9
git: * [new branch] flutter-1.19-candidate.0 -> origin/flutter-1.19-candidate.0
git: * [new branch] flutter-1.19-candidate.1 -> origin/flutter-1.19-candidate.1
git: * [new branch] flutter-1.19-candidate.2 -> origin/flutter-1.19-candidate.2
git: * [new branch] flutter-1.19-candidate.3 -> origin/flutter-1.19-candidate.3
git: * [new branch] flutter-1.19-candidate.4 -> origin/flutter-1.19-candidate.4
git: * [new branch] flutter-1.19-candidate.5 -> origin/flutter-1.19-candidate.5
git: * [new branch] flutter-1.20-candidate.0 -> origin/flutter-1.20-candidate.0
git: 9cc69d47a..401690a64 master -> origin/master
git: * [new branch] revert-51465-fab-complete-new -> origin/revert-51465-fab-complete-new
git: * [new branch] roll_branch -> origin/roll_branch
git: + f139b1100...b041144f8 stable -> origin/stable (forced update)
git: * [new tag] 1.17.3 -> 1.17.3
git: * [new tag] 1.18.0-10.0.pre -> 1.18.0-10.0.pre
git: * [new tag] 1.18.0-11.0.pre -> 1.18.0-11.0.pre
git: * [new tag] 1.18.0-11.1.pre -> 1.18.0-11.1.pre
git: * [new tag] 1.18.0-13.0.pre -> 1.18.0-13.0.pre
git: * [new tag] 1.18.0-7.0.pre -> 1.18.0-7.0.pre
git: * [new tag] 1.18.0-8.0.pre -> 1.18.0-8.0.pre
git: * [new tag] 1.18.0-9.0.pre -> 1.18.0-9.0.pre
git: * [new tag] 1.19.0-0.0.pre -> 1.19.0-0.0.pre
git: * [new tag] 1.19.0-1.0.pre -> 1.19.0-1.0.pre
git: * [new tag] 1.19.0-2.0.pre -> 1.19.0-2.0.pre
git: * [new tag] 1.19.0-3.0.pre -> 1.19.0-3.0.pre
git: * [new tag] 1.19.0-4.1.pre -> 1.19.0-4.1.pre
git: * [new tag] 1.19.0-5.0.pre -> 1.19.0-5.0.pre
git: * [new tag] 1.20.0-0.0.pre -> 1.20.0-0.0.pre
git: * [new tag] 1.17.0 -> 1.17.0
git: * [new tag] 1.17.0-3.2.pre -> 1.17.0-3.2.pre
git: * [new tag] 1.17.0-3.3.pre -> 1.17.0-3.3.pre
git: * [new tag] 1.17.0-3.4.pre -> 1.17.0-3.4.pre
git: * [new tag] 1.17.1 -> 1.17.1
git: * [new tag] 1.17.2 -> 1.17.2
git: * [new tag] 1.18.0-12.0.pre -> 1.18.0-12.0.pre
git: * [new tag] 1.18.0-6.0.pre -> 1.18.0-6.0.pre
git: * [new tag] 1.19.0-4.0.pre -> 1.19.0-4.0.pre
git: Your branch and 'origin/stable' have diverged,
git: and have 12 and 1517 different commits each, respectively.
git: (use "git pull" to merge the remote branch into yours)
git: Previous HEAD position was 0b8abb472 Do not use logcat -T on pre-lollipop Android
git: Switched to branch 'stable'
そして、これを取得する前に、フラッターアップグレード--force
E:\flutter_Apps\flutter_app_dont_stare_v2>flutter upgrade --force
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine af51afceb8886cc11e25047523c4e0c7e1f5d408...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...
Warning! The 'flutter' tool you are currently running is from a different Flutter repository than the one last used by this package. The repository from which the 'flutter' tool is
currently executing will be used instead.
running Flutter tool: C:\src\flutter
previous reference : C:\flutter\flutter\flutter
This can happen when you have multiple copies of flutter installed. Please check your system path to verify that you are running the expected version (run 'flutter --version' to see
which flutter is on your path).
Upgrading Flutter from C:\src\flutter...
Updating files: 23% (891/3793)
Updating files: 24% (911/3793)
Updating files: 25% (949/3793)
Updating files: 26% (987/3793)
Updating files: 27% (1025/3793)
Updating files: 28% (1063/3793)
Updating files: 29% (1100/3793)
Updating files: 30% (1138/3793)
Updating files: 31% (1176/3793)
Updating files: 32% (1214/3793)
Updating files: 33% (1252/3793)
Updating files: 34% (1290/3793)
Updating files: 35% (1328/3793)
Updating files: 36% (1366/3793)
Updating files: 37% (1404/3793)
Updating files: 38% (1442/3793)
Updating files: 39% (1480/3793)
Updating files: 40% (1518/3793)
Updating files: 41% (1556/3793)
Updating files: 41% (1574/3793)
Updating files: 42% (1594/3793)
Updating files: 43% (1631/3793)
Updating files: 44% (1669/3793)
Updating files: 45% (1707/3793)
Updating files: 46% (1745/3793)
Updating files: 47% (1783/3793)
Updating files: 48% (1821/3793)
Updating files: 49% (1859/3793)
Updating files: 50% (1897/3793)
Updating files: 50% (1904/3793)
Updating files: 51% (1935/3793)
Updating files: 52% (1973/3793)
Updating files: 53% (2011/3793)
Updating files: 54% (2049/3793)
Updating files: 55% (2087/3793)
Updating files: 56% (2125/3793)
Updating files: 57% (2163/3793)
Updating files: 58% (2200/3793)
Updating files: 58% (2225/3793)
Updating files: 59% (2238/3793)
Updating files: 60% (2276/3793)
Updating files: 61% (2314/3793)
Updating files: 62% (2352/3793)
Updating files: 62% (2382/3793)
Updating files: 63% (2390/3793)
Updating files: 64% (2428/3793)
Updating files: 65% (2466/3793)
Updating files: 65% (2503/3793)
Updating files: 66% (2504/3793)
Updating files: 67% (2542/3793)
Updating files: 67% (2566/3793)
Updating files: 68% (2580/3793)
Updating files: 69% (2618/3793)
Updating files: 70% (2656/3793)
Updating files: 71% (2694/3793)
Updating files: 72% (2731/3793)
Updating files: 73% (2769/3793)
Updating files: 74% (2807/3793)
Updating files: 74% (2815/3793)
Updating files: 75% (2845/3793)
Updating files: 76% (2883/3793)
Updating files: 77% (2921/3793)
Updating files: 78% (2959/3793)
Updating files: 79% (2997/3793)
Updating files: 79% (3022/3793)
Updating files: 80% (3035/3793)
Updating files: 81% (3073/3793)
Updating files: 82% (3111/3793)
Updating files: 83% (3149/3793)
Updating files: 83% (3161/3793)
Updating files: 84% (3187/3793)
Updating files: 85% (3225/3793)
Updating files: 86% (3262/3793)
Updating files: 87% (3300/3793)
Updating files: 87% (3310/3793)
Updating files: 88% (3338/3793)
Updating files: 89% (3376/3793)
Updating files: 90% (3414/3793)
Updating files: 90% (3439/3793)
Updating files: 91% (3452/3793)
Updating files: 92% (3490/3793)
Updating files: 93% (3528/3793)
Updating files: 93% (3546/3793)
Updating files: 94% (3566/3793)
Updating files: 95% (3604/3793)
Updating files: 96% (3642/3793)
Updating files: 96% (3650/3793)
Updating files: 97% (3680/3793)
Updating files: 97% (3706/3793)
Updating files: 98% (3718/3793)
Updating files: 99% (3756/3793)
Updating files: 99% (3760/3793)
Updating files: 100% (3793/3793)
Updating files: 100% (3793/3793), done.
Updating cf37c2cd0..b041144f8
dev/benchmarks/macrobenchmarks/assets/999x1000.png | Bin 0 -> 3561 bytes
.../benchmarks/macrobenchmarks}/macos/.gitignore | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../Runner.xcworkspace}/contents.xcworkspacedata | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../macos/Runner/Base.lproj/MainMenu.xib | 0
.../macos/Runner/Configs/Debug.xcconfig | 0
.../macos/Runner/Configs/Release.xcconfig | 0
.../macos/Runner/Configs/Warnings.xcconfig | 0
.../macos/Runner/DebugProfile.entitlements | 0
.../macrobenchmarks}/macos/Runner/Info.plist | 0
.../macos/Runner/Release.entitlements | 0
.../android/gradle.properties | 0
.../gradle/wrapper/gradle-wrapper.properties | 0
.../ios/Flutter/AppFrameworkInfo.plist | 0
.../ios/Flutter/Flutter.xcconfig | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../AppIcon.appiconset/[email protected] | Bin 0 -> 4867 bytes
.../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0
.../ios/Runner/Base.lproj/Main.storyboard | 0
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin
.../test_apps}/stocks/android/gradle.properties | 0
.../gradle/wrapper/gradle-wrapper.properties | 0
.../test_apps}/stocks/fuchsia/meta/stocks.cmx | 0
.../stocks/ios/Flutter/AppFrameworkInfo.plist | 0
.../test_apps/stocks/ios/Flutter/Debug.xcconfig | 0
.../project.xcworkspace}/contents.xcworkspacedata | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../xcshareddata/xcschemes/Runner.xcscheme | 0
.../Runner.xcworkspace}/contents.xcworkspacedata | 0
.../AppIcon.appiconset/Contents.json | 0
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-76.png | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/Icon-Notification.png | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/Icon-Small-40.png | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/Icon-Small.png | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../AppIcon.appiconset/[email protected] | Bin
.../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0
.../stocks/ios/Runner/Base.lproj/Main.storyboard | 0
.../test_apps}/stocks/ios/Runner/Info.plist | 0
.../test_apps/stocks/lib/i18n/stocks_en.arb | 0
.../test_apps/stocks/lib/i18n/stocks_es.arb | 0
dev/devicelab/images/agent-statuses.png | Bin 13842 -> 0 bytes
dev/devicelab/images/broken-test.png | Bin 56878 -> 0 bytes
dev/devicelab/images/legend.png | Bin 30220 -> 0 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes
.../assets/red_square.png | Bin 0 -> 629 bytes
.../project.xcworkspace}/contents.xcworkspacedata | 0
.../xcshareddata/xcschemes/Runner.xcscheme | 0
.../Runner.xcworkspace/contents.xcworkspacedata | 0
.../AppIcon.appiconset/[email protected] | Bin 0 -> 10932 bytes
.../AppIcon.appiconset/[email protected] | Bin 0 -> 564 bytes
.../AppIcon.appiconset/[email protected] | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/[email protected] | Bin 0 -> 1588 bytes
and so on
Reba McEntire が息子の Shelby Blackstock と共有しているクリスマスの伝統について学びましょう。
メーガン・マークルとマライア・キャリーが自然な髪の上でどのように結合したかについて、メーガンの「アーキタイプ」ポッドキャストのエピソードで学びましょう.
ハリー王子が家族、特にチャールズ王とウィリアム王子との関係について望んでいると主張したある情報源を発見してください。
ワイノナ・ジャッドが、母親のナオミ・ジャッドが亡くなってから初めての感謝祭のお祝いを主催しているときに、彼女が今では家長であることをどのように認識したかを学びましょう.
Air travel is far more than getting from point A to point B safely. How much do you know about the million little details that go into flying on airplanes?
The world is a huge place, yet some GeoGuessr players know locations in mere seconds. Are you one of GeoGuessr's gifted elite? Take our quiz to find out!
私たちの読者は、何千ものOxyLEDのT-02モーションセンサーライトストリップを何年にもわたって購入してきましたが、充電するのが面倒だと感じた場合、新しいT-04は素晴らしいアップグレードのように見えます。T-02のように、 T-04は、付属の粘着ストリップを介して基本的にあらゆる表面に取り付けることができ、暗闇での動きを検出すると自動的に点灯します。
写真:AP大統領ドナルド・トランプは、連邦捜査局長官のジェームズ・コミーを解雇したばかりです。火曜日の声明で、ホワイトハウスは、トランプが「両方の副検事総長ロッドの明確な勧告に基づいて行動するコミーをオフィスから削除したと述べましたローゼンスタインと司法長官のジェフセッション。
ウィキメディア・コモンズ経由西部のローマ帝国の中央機関が崩壊し、5世紀の間に州が分裂し、独自の道を進んだとき、新しい王国が出現しました。今日、私たちはこれらの新しい政治単位を特定の野蛮人グループで特定する傾向があります:ガリア南西部の西ゴート族、ガリア北部のフランク人、英国のアングロサクソン人、北アフリカのヴァンダル人。
BodyRestore ユーカリ シャワー スチーマーは、Amazon で 11,000 を超える 5 つ星の評価を得ています。セルフケアが必要な人へのバレンタインデーのギフトとして、ホームスパ製品を贈りましょう。
多くのAmazonの買い物客がUmlo H6ハンドヘルド掃除機を推奨しており、現在スーパーセール中です. ハンドヘルド デバイスには HEPA フィルターが装備されており、複数のアタッチメントが付属しています。Amazonで75%オフのときにハンドヘルド掃除機を購入する
オクタヴィア・スペンサーは、ヘルプで一緒に共演するずっと前に、シシー・スペイセク主演の 1990 年の映画「ロング・ウォーク・ホーム」でインターンとして働いていました。
ジュリア・フォックスは、彼女のTikTokで共有された応答ビデオで、「本当に申し訳ありません。今、本当に年齢を示しています」と述べました。
人々にチャンスを与えることは、人生で少し遅すぎると私は信じています。寛大に。