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

1,784

Solution 1

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

Solution 2

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.

Share:
1,784
Oli Simmonds
Author by

Oli Simmonds

Updated on December 21, 2022

Comments

  • Oli Simmonds
    Oli Simmonds over 1 year

    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.