5

Hot reload and restart are not working on Android after adding firebase messaging to the app.

Getting this error:

Hot Reload Error

reloadSources: (105) Isolate must be runnable

Isolate must berunnable before this request is made

On iOS they are working fine.

krishnakumarcn
  • 3,959
  • 6
  • 39
  • 69

1 Answers1

0

Check your import on file if your import like, Most of the time hot reload and hot restart not work because of this issue

import 'file:///E:/SelfProjects2/water_my_plants/lib/screens/Homescreen.dart';

change to

import 'package:water_my_plants/screens/Homescreen.dart';
Mr vd
  • 878
  • 1
  • 10
  • 19