Questions tagged [flutter-hotreload]
27 questions
6
votes
6 answers
Flutter Hot Reload and Hot Restart do not always work
For now one week, sometimes when I HotReload my changes are not applied (the log says it's been HotReload but in fact, they are not) and the same when I HotRestart so I'm forced to stop and re-run the app (and sometimes to delete the build)!
…

Milvintsiss
- 1,420
- 1
- 18
- 34
1
vote
0 answers
is there any way to user hot restart/hot reload functionality for native java code along with flutter dart code?
if i make changes in native flutter code, while my flutter dart code is running can I view changes using hot/hot restart?
For now, if open andrdoid folder into android studio and make changes, and run app/activity it gets disconnected with dart on…

Tushar Sharma
- 51
- 4
1
vote
2 answers
productsController is not initiated when i do hot restart , but when i do hot reload it works , flutter Getx
I am working on a ecommerce-app , I'm using Getx for the state managment, I'm a newbie with Getx a little help would be appreciated.
I am using firebase auth, so when the app is navigated from the login screen everything is fine i.e products are…

krishnaacharyaa
- 14,953
- 4
- 49
- 88
1
vote
2 answers
Flutter - Hot reload - Change the value from outside of the State.build function
For managability purpose, I've built the app with the values including texts, dimensions, colors, paths, and etc, all been put into different files other than the StatefulWidget class files. I never looking for the solution for this problem before…

stackunderflow
- 1,492
- 1
- 23
- 53
1
vote
0 answers
Hot Reload/Restart doesn't work in Flutter in Linux from TERMINAL only
When I run flutter run and press r or R hot reload/restart doesn't work and I have to press r or R every time I change my code.
I want to run my app only from the terminal and not from any IDE or Editor.
HAVE TO PRESS r or R everytime

Saksham Raheja
- 11
- 2
1
vote
2 answers
Is there a way to force changes from the last hot reload to persist after stopping debug session?
In Android Studio after ending the debug/run session and/or unplugging my phone from the computer and restarting the app, the locally installed app seems to not have saved the last hot reload's changes.
I noticed this a few times and decided to run…

KGEM
- 79
- 8
1
vote
1 answer
How to solve performance and hot reload issues in flutter?
I have come to know that flutter is much faster..But when I run it on web , it takes almost 4 minutes to start..How to reduce its launch time?
Again there is an awesome feature of flutter called hot reload.
But when I try to perform hot reload(both…
user16689944
1
vote
1 answer
Flutter function is getting called everytime state is set
I am making a small game where user need to guess answer using the characters provided on screen in a grid view, I made the grid view that contains characters from answer and some random characters, to generate random characters I made a…

Dilpreet
- 13
- 2
1
vote
1 answer
tried hot reload but the changes are not reflected on the emulator
So I pulled this code from my branch and made few changes using vs code and tried hot reload but the changes are not reflected on the emulator. This is a flutter app using dart. I noticed something that said 'source control - 3 unsaved changes'.…

Mohammed Jinas
- 11
- 5
1
vote
1 answer
Flutter web app Japanese Character(Non English Character) doesn't work
I am going to write flutter web in vs code.
Before creating a flutter app, I already feed following commands.
flutter channel beta
flutter upgrade
flutter config --enable-web
After that I create a flutter web app via
vsCode > Shift+Command+P >…

hmmh
- 57
- 2
- 10
0
votes
1 answer
How to get Flutter's Hot Reload to work on VS Code?
I cannot get Hot Reload to work on VS Code. I'm using the drop down menu to "Run without Debugging" (although the problem persists even if I "Start Debugging").
When I press Hot Reload, it shows a success message but the changes are not reflected on…

learner_bee
- 3
- 2
0
votes
0 answers
Flutter debugging not working on my phone, but works on every other phone in VSCODE
The flutter hot restart/ reload doesn't work on my phone for all the flutter run, run with/without debugging. And the same works on all other phone very well.This issue of phone is not specific to any project, it is the same with all the…
0
votes
0 answers
hot reload doesn't work on android emulator using VS Code
Hot reload doesn't work at all on android emulator using VS Code even.
I just made some simple changes like changing appbar title value.
But only hot restart works on android emulator (using restart debugging)
Can some body help please, thanks!

amir torabi
- 1
- 2
0
votes
0 answers
emulator crashing on wayland with flutter program
Working on a flutter project with the Android emulator in Arch linux with swaywm (wayland), the emulator crashes on hot reloading.
emulator -avd Pixel_6_API_33 -gpu auto
INFO | Android emulator version 32.1.12.0 (build_id 9751036) (CL:N/A)
INFO …

Adrien Lemaire
- 1,744
- 2
- 20
- 29
0
votes
2 answers
Hot reload returns to the first page
I have a question about Flutter.
In the application I made myself, log in from the login page and display the next page,
When I edit main.dart and save it, it returns to the first page.
Is it by specification that hot reload should return to the…

kyouno
- 49
- 1
- 7