-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Description
The flutter/samples repository contains git dependencies on the archived repository google/flutter-desktop-embedding, causing build failures.
Steps to Reproduce
- Clone the samples repository:
git clone https://github.com/flutter/samples.git - Navigate to any sample project:
cd samples/material_3_demo - Run
flutter pub get
Actual Behavior
PS C:\Users\Howl\Desktop\code\samples\material_3_demo> flutter build apk
Resolving dependencies in C:\Users\Howl\Desktop\code\samples... (6.5s)
cal\Pub\Cache_temp\dirb33f28d3`
stdout:
stderr: Cloning into bare repository 'C:\Users\Howl\AppData\Local\Pub\Cache_temp\dirb33f28d3'...
fatal: unable to access 'https://github.com/google/flutter-desktop-embedding.git/': Empty reply from server
exit code: 128
Failed to update packages.
Root Cause
The flutter-desktop-embedding repository was archived by the owner on Dec 3, 2025, and is now read-only.
Affected Files
The following 10 pubspec.yaml files contain git dependencies pointing to the
archived google/flutter-desktop-embedding repository:
animations/pubspec.yamldesktop_photo_search/fluent_ui/pubspec.yamldesktop_photo_search/material/pubspec.yamlform_app/pubspec.yamlinfinite_list/pubspec.yamlisolate_example/pubspec.yamlnavigation_and_routing/pubspec.yamlprovider_counter/pubspec.yamlprovider_shopper/pubspec.yamlsimplistic_calculator/pubspec.yaml