5

Cannot run Android app on flutter. Getting Device emulator-5554 is offline. I'm thinking it could be and emulator issue since I'm on M1 but it worked 2 days ago and after a flutter upgrade everything stopped.

  1. Killing adb
  2. Deleting emulator
  3. Cold booting Emulator
  4. Wiping Emulator
  5. Other answers in questions don't work
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 2.2.0-10.1.pre, on macOS 11.2.1 20D74 darwin-arm,
    locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.55.2)
[✓] Connected device (2 available)
    ! Device emulator-5554 is offline.
I AM
  • 96
  • 1
  • 7
  • Does adb device have a result? – Matrix Apr 25 '21 at 07:17
  • 1
    @Anna Gives `List of devices attached emulator-5554 offline` – I AM Apr 25 '21 at 08:33
  • Try to run "adb kill-server" first , then run "adb devices" in the cmd . Did try a real phone? – Matrix Apr 25 '21 at 08:39
  • Does not work. Using emulator – I AM Apr 25 '21 at 09:37
  • I'm having this same issue. Real phone works great. Emulator preview for m1 is stated as being outdated/unnecessary with the latest Android Studio. I've tried enabling/disabling USB debugging on the emulator, reseting data, cold booting, killing adb numerous times, etc., and nothing seems to work. An oddity I've spotted is that `AndroidWifi` reports "connected to device. can't provide internet." Update: AndroidWifi is randomly working now after the emulator device crashed and rebooted. – AndrewPK Apr 26 '21 at 05:01

0 Answers0