flutter doctor: ERROR: Could not connect to lockdownd, error code -21

879

I fixed it. It is because my iPad was connected to my computer.. DUUH! When I disconnected my iPad the "flutter run" worked perfect!

Share:
879
OlivierM
Author by

OlivierM

Hi, I’m Olivier. I’m a webdeveloper and learning Swift at the moment!

Updated on December 10, 2022

Comments

  • OlivierM
    OlivierM over 1 year

    I've got this error message when I try to run "flutter run" in the terminal. Who knows how to fix this?

    Error terminal message

  • Cardo
    Cardo about 5 years
    For the record, identical stuff just happened to me too. I still don't get why the iPad sabotaged everything, though.
  • Dawid Stefaniak
    Dawid Stefaniak almost 5 years
    Error code -17 was because the iPhone device was connected.