flutter / flutter/flutter-intellij
"Pubspec has been edited" always reappears in Android Studio
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
### 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
Contributor guide
Research direction
Start by reproducing the repeated “Pubspec has been edited” banner in Android Studio with the listed Dart and Flutter plugin versions, using the pubspec.yaml change state and the Get, Update, and ignore actions described. Done means the banner disappears after a completed get or upgrade and returns only after a real pubspec.yaml change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100