Can we access your project?
Current Behavior
I have previously tracked this issue in another one: #7289
a couple of days ago, during a flutterflow ai refresh-context xxxxx operation the latest version of SDk has been downloaded. Since that I am not anymore able to user the tool
As per the suggestion in #7289 I have tried
Deactivate the tool
➜ myfolder dart pub global deactivate flutterflow_cli
Deactivated package flutterflow_cli 0.0.38.
Activate the tool again
➜ myfolder dart pub global activate flutterflow_cli
Downloading packages... .
+ adaptive_number 1.0.0
+ archive 4.0.9
+ args 2.7.0
+ async 2.13.1
+ collection 1.19.1
+ convert 3.1.2
+ crypto 3.0.7
+ ed25519_edwards 0.3.1
+ ffi 2.2.0
+ file 7.0.1
+ fixnum 1.1.1
+ flutterflow_cli 0.0.38
+ glob 2.1.3
+ http 1.6.0
+ http_parser 4.1.2
+ meta 1.19.0
+ path 1.9.1
+ posix 6.5.0
+ source_span 1.10.2
+ string_scanner 1.4.1
+ term_glyph 1.2.2
+ typed_data 1.4.0
+ web 1.1.1
Building package executables...
Built flutterflow_cli:flutterflow_cli.
Installed executable flutterflow.
Activated flutterflow_cli 0.0.38.
But this ha no effect
➜ myfolder flutterflow ai refresh-context xxxxx-xxxx
Unhandled exception:
Refusing to install build 995e259b (released 2026-07-09T01:28:59Z) for env prod: it is older than the highest previously-installed build (released 2026-07-16T03:51:07Z). Pass --allow-rollback to override.
#0 PackageSnapshotManager.ensureInstalled (package:flutterflow_cli/src/ai_artifacts.dart:390:7)
<asynchronous suspension>
#1 _ensureWorkspaceReady (package:flutterflow_cli/src/ai_router.dart:748:21)
<asynchronous suspension>
#2 _runFlutterFlowAIPassthrough (package:flutterflow_cli/src/ai_router.dart:720:3)
<asynchronous suspension>
#3 runAiNamespace (package:flutterflow_cli/src/ai_router.dart:73:9)
<asynchronous suspension>
#4 appMain (file:///Users/vincenzo/.pub-cache/hosted/pub.dev/flutterflow_cli-0.0.38/bin/flutterflow_cli.dart:12:5)
<asynchronous suspension>
#5 main (file:///Users/vincenzo/.pub-cache/hosted/pub.dev/flutterflow_cli-0.0.38/bin/flutterflow_cli.dart:225:3)
<asynchronous suspension>
Expected Behavior
After an update the tool should continue to work or at least suggest a better diagnostic message
Steps to Reproduce
I dont think it can be reproduced from scratch
Reproducible from Blank
Bug Report Code (Required)
IT40hcj6w5d2odxE187qb8Bvmio5Jlg1auYZlO5raDYvCIyqOph/f/f4SFVvcN+rTHlhHFH8rF4e0MrSueLxFsI4GwuAbtk/yMx9WwvKQXq8R5fQEaqNdnZAAd5hC3ad35+jpxPTHNd2W05i3U7yNfC8bDDBN5+/Zwh9f6RHaOI=
Visual documentation
Environment
- FlutterFlow version:
- Platform:
- Browser name and version:
- Operating system and version affected:
Additional Information
Typically, I've noted that after running flutterflow ai upgrade it starts working again.
Can we access your project?
Current Behavior
I have previously tracked this issue in another one: #7289
a couple of days ago, during a
flutterflow ai refresh-context xxxxxoperation the latest version of SDk has been downloaded. Since that I am not anymore able to user the toolAs per the suggestion in #7289 I have tried
Deactivate the tool
Activate the tool again
But this ha no effect
Expected Behavior
After an update the tool should continue to work or at least suggest a better diagnostic message
Steps to Reproduce
I dont think it can be reproduced from scratch
Reproducible from Blank
Bug Report Code (Required)
IT40hcj6w5d2odxE187qb8Bvmio5Jlg1auYZlO5raDYvCIyqOph/f/f4SFVvcN+rTHlhHFH8rF4e0MrSueLxFsI4GwuAbtk/yMx9WwvKQXq8R5fQEaqNdnZAAd5hC3ad35+jpxPTHNd2W05i3U7yNfC8bDDBN5+/Zwh9f6RHaOI=
Visual documentation
Environment
Additional Information
Typically, I've noted that after running
flutterflow ai upgradeit starts working again.