You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter run doesn't pick up code changes in dependent packages with gradle #8315
Notice that you see the number 1 in the middle of the screen.
Edit ../mylib/lib/bar.dart to change generation from 1 to 2.
flutter run
Notice that you still see the number 1 in the middle of the screen instead of 2, which is what the code currently does.
Discussion
As part of the build, we output ./android/app/build/intermediates/flutter/debug/snapshot_blob.bin.d, which lists the Dart files that were read during the build. If any of those files change, we need to recreate the snapshot to see the code change. It appears the gradle build is ignoring this file and only considering code changes inside the gradle project itself.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Use snapshot's .d file as source inputs in Gradle build.
Use snapshot's .d file as source inputs in Gradle build. (#8756)
github-actions commentedon Sep 5, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.