Flutter Hot Reload not working in IntelliJ

4,780

Solution 1

In case someone is facing the same problem, I solved it using the answer of XQDD in: https://github.com/flutter/flutter/issues/19151

which consists in updating adb version:

https://developer.android.com/studio/releases/platform-tools

Solution 2

Try to invalidate cache and restart Android Studio, as well as run the command to clean the flutter build.

Concrete instructions In Android Studio, go to File --> Invalidate Caches/Restart --> Invalidate and Restart

After restart, run the command in the terminal: flutter clean

After that, your reload should be working again.

Share:
4,780
aditya parikh
Author by

aditya parikh

Updated on December 05, 2022

Comments

  • aditya parikh
    aditya parikh over 1 year

    new to flutter. created a new project using Intellij flutter plugin. Ran the app on an ios simulator using the play icon on the intellij, which runs the app in an IphoneX simulator. Made some cosmetic changes to the main.dart file but i) the hot reload, lightning, button is disabled ii) also code gets auto saved in intellij, so not sure what i need to do to test hot reload.

    as a matter of fact, i have to delete the app from my iPhoneX simulator and rerun from IntelliJ to pick up the changes.

    • aditya parikh
      aditya parikh almost 6 years
      After 3 hours : and all of sudden the ide poped up a message that it supports hot reload and it started working !!
    • Auryn
      Auryn almost 6 years
      I have the same error, last update killed the hot reload on save, i have to hit the reload button now :-( did anyone know, how to set it in intellij to reload on save?