'Impossible to hot reload on VSCode

I'm trying to use hot reload on my Flutter project, but everytime I use it, I have this error:

Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]}

I've tried every solution but none of these are working. Is there a fix for that? Thanks!



Solution 1:[1]

Please try one more time with the master channel.

Upgrade to master and try again please:

flutter channel master
flutter upgrade --force
flutter doctor -v

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anandh Krishnan