Skip to content

Build fails due to archived flutter-desktop-embedding dependency #2818

@howl0921

Description

@howl0921

The flutter/samples repository contains git dependencies on the archived repository google/flutter-desktop-embedding, causing build failures.

Steps to Reproduce

  1. Clone the samples repository: git clone https://github.com/flutter/samples.git
  2. Navigate to any sample project: cd samples/material_3_demo
  3. 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.yaml
  • desktop_photo_search/fluent_ui/pubspec.yaml
  • desktop_photo_search/material/pubspec.yaml
  • form_app/pubspec.yaml
  • infinite_list/pubspec.yaml
  • isolate_example/pubspec.yaml
  • navigation_and_routing/pubspec.yaml
  • provider_counter/pubspec.yaml
  • provider_shopper/pubspec.yaml
  • simplistic_calculator/pubspec.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions