Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stuck at Syncing files to device Chrome... Flutter Web

When trying to run my Flutter App on Chrome it loads a blank website and in my console I only get the message;

Launching lib\Constants\main.dart on Chrome in debug mode...
Syncing files to device Chrome...

There are no errors when I run flutter doctor and I have no problem loading up apps in the emulator.

like image 212
Oli Simmonds Avatar asked Nov 26 '22 23:11

Oli Simmonds


2 Answers

Press F12 on Chrome and click on the Console tab to look for errors. Maybe you added something in index.html that is incorrect or there is build errors.

You can also run flutter build web to see if there's any errors.

like image 82
Alexandre Mercier Avatar answered Dec 05 '22 20:12

Alexandre Mercier


I had the same error and solved it with flutter upgrade to the newest version.

For Flutter Web & Debug & Chrome:

  • Version 1.20.0 stucks
  • Version 1.22.0 works fine
like image 31
SeriForte Avatar answered Dec 05 '22 21:12

SeriForte