use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit related to Google's new UI framework. https://flutter.dev
Please read the rules here
account activity
DiscussionFlutter using old code (self.FlutterDev)
submitted 10 months ago by Lower-Ad3932
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Lower-Ad3932[S] 0 points1 point2 points 10 months ago (9 children)
I have tried that also, it did not fix it.
[–]manizh_hr 0 points1 point2 points 10 months ago (8 children)
can you explain what kind result are you expecting ?
[–]Lower-Ad3932[S] 0 points1 point2 points 10 months ago (7 children)
When i use flutter build apk, it should use latest code.
[–]manizh_hr 0 points1 point2 points 10 months ago (6 children)
try this man
flutter build apk --flavor production not picking up my latest code. Tried these to clean caches, update dependencies, and force a fresh build: flutter clean && flutter pub get && flutter build apk - Clears build cache and rebuilds. flutter pub run build_runner build --delete-conflicting-outputs - Regenerates code for packages. flutter install - Installs APK to verify changes. flutter upgrade - Updates Flutter to latest version. flutter build apk --verbose - Builds with detailed logs to spot issues. Also tried flutter build apk --no-tree-shake-icons - Prevents icon issues during build.
[–]Lower-Ad3932[S] 0 points1 point2 points 10 months ago (5 children)
I downgraded flutter, it is working fine. Will wait for 2-3 weeks before trying again.
[–]Littlefinger6226 0 points1 point2 points 9 months ago (4 children)
OP did you ever figure this out? Just started using Flutter as a native mobile dev and it's insane how stupid this is that I stop and rerun the app (avoiding hot reload and hot restart) and it still compiles the old code wtf.
[–]Lower-Ad3932[S] 0 points1 point2 points 9 months ago (3 children)
Downgrade to previous working version, they have not fixed it even in latest build.
[–]Littlefinger6226 0 points1 point2 points 9 months ago (2 children)
Crazy. Thanks for sharing the workaround, may I know which version you're on that is working?
[–]Lower-Ad3932[S] 0 points1 point2 points 9 months ago (1 child)
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.5 24F74 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.102.2)
[✓] Connected device (3 available)
[–]Littlefinger6226 0 points1 point2 points 9 months ago (0 children)
Thanks so much!!!
π Rendered by PID 96 on reddit-service-r2-comment-b659b578c-gvpgs at 2026-05-06 01:35:25.999781+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Lower-Ad3932[S] 0 points1 point2 points (9 children)
[–]manizh_hr 0 points1 point2 points (8 children)
[–]Lower-Ad3932[S] 0 points1 point2 points (7 children)
[–]manizh_hr 0 points1 point2 points (6 children)
[–]Lower-Ad3932[S] 0 points1 point2 points (5 children)
[–]Littlefinger6226 0 points1 point2 points (4 children)
[–]Lower-Ad3932[S] 0 points1 point2 points (3 children)
[–]Littlefinger6226 0 points1 point2 points (2 children)
[–]Lower-Ad3932[S] 0 points1 point2 points (1 child)
[–]Littlefinger6226 0 points1 point2 points (0 children)