flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

"Pubspec has been edited" always reappears in Android Studio

Open KCO-SK opened this issue 5 months ago • 0 comments

Steps to reproduce

  1. Open a project
  2. You will be warned by the "Pubspec has been edited" banner (even if there is no change).
  3. Click Get or Update
  4. The banner disappears
  5. Switch to any .dart file within your project
  6. The warning reappear (even the "ignore" button does not help)

My pubspec.yaml file does not have a fresh change date when taking a look at it in the Finder. I didn't have this problem until some days ago. I think there was a Flutter or Dart plugin update some days ago?

Expected results

The banner should disappear when upgrade or get process are done and only reappear after a real pubspec.yaml change.

Actual results

The banner reappears all the time.

System

macOS Sequoia 15.5 on a MacBook M2 Pro

Android Studio version

Android Studio Meerkat Feature Drop | 2024.3.2 Patch 1 Build #AI-243.26053.27.2432.13536105, built on May 22, 2025 Runtime version: 21.0.6+-13368085-b895.109 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Dart plugin version

243.26753.1

Flutter plugin version

86.0.1

Flutter version

Flutter 3.34.0-0.0.pre • channel beta • https://github.com/flutter/flutter.git Framework • revision 01fde956f0 (3 days ago) • 2025-06-16 13:32:43 -0500 Engine • revision 8ed9edbd7a (9 days ago) • 2025-06-10 16:02:26 -0700 Tools • Dart 3.9.0 (build 3.9.0-196.1.beta) • DevTools 2.47.0

KCO-SK avatar Jun 19 '25 16:06 KCO-SK