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
I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
When using Local Run and pressing Hot Reload in FlutterFlow, the entire lib/ folder is being deleted. This includes main.dart and other critical files, causing the app to crash with the error:
Target file "lib/main.dart" not found.
Expected Behavior
Working!!
Hot Reload should reload code without altering or deleting any Dart files in the lib/ folder.
Steps to Reproduce
I´m using HP laptop (Windows) and my physical device is an Goggle Pixel 7a
Create or open a project in FlutterFlow.
Set up Local Run (I use Flutter 3.22.1 + Java 17).
Run the app on a physical device.
Press Hot Reload inside FlutterFlow.
Observe that lib/ folder is emptied or deleted.
Reproducible from Blank
The steps to reproduce above start from a blank project.
Bug Report Code (Required)
Performing hot reload... The entrypoint file (i.e. the file with main()) C:\Users\ChristoferEkman\AppData\Roaming\FlutterFlow\flutterflow\workout_app\lib\main.dart cannot be found. Moving or renaming this file will prevent changes to its contents from being discovered during hot reload/restart until flutter is restarted or the file is restored. W/WindowOnBackDispatcher(24059): OnBackInvokedCallback is not enabled for the application. W/WindowOnBackDispatcher(24059): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest. Reloaded 0 libraries in 670ms (compile: 174 ms, reload: 0 ms, reassemble: 126 ms).
Visual documentation
Problem.with.Hot.reload.mp4
Environment
- FlutterFlow version: Latest (as of June 13, 2025)
- Platform: FlutterFlow Web IDE (Local Run using Flutter SDK)
- Browser name and version: Microsoft Edge (Version 125.0.2535.67)
- Operating system and version affected: Windows 11 Pro, Version 23H2
Additional Information
No response
The text was updated successfully, but these errors were encountered:
I wasn’t able to replicate the issue on my end—everything compiles correctly across multiple platforms, including Android, Windows, and Chrome.
If the issue persists for you, I recommend reaching out to our support team via the in-app chat or by emailing [email protected] so we can assist you further.
Can we access your project?
Current Behavior
When using Local Run and pressing Hot Reload in FlutterFlow, the entire lib/ folder is being deleted. This includes main.dart and other critical files, causing the app to crash with the error:
Target file "lib/main.dart" not found.
Expected Behavior
Working!!
Hot Reload should reload code without altering or deleting any Dart files in the lib/ folder.
Steps to Reproduce
I´m using HP laptop (Windows) and my physical device is an Goggle Pixel 7a
Create or open a project in FlutterFlow.
Set up Local Run (I use Flutter 3.22.1 + Java 17).
Run the app on a physical device.
Press Hot Reload inside FlutterFlow.
Observe that lib/ folder is emptied or deleted.
Reproducible from Blank
Bug Report Code (Required)
Performing hot reload... The entrypoint file (i.e. the file with main()) C:\Users\ChristoferEkman\AppData\Roaming\FlutterFlow\flutterflow\workout_app\lib\main.dart cannot be found. Moving or renaming this file will prevent changes to its contents from being discovered during hot reload/restart until flutter is restarted or the file is restored. W/WindowOnBackDispatcher(24059): OnBackInvokedCallback is not enabled for the application. W/WindowOnBackDispatcher(24059): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest. Reloaded 0 libraries in 670ms (compile: 174 ms, reload: 0 ms, reassemble: 126 ms).
Visual documentation
Problem.with.Hot.reload.mp4
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: