Error: PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null))
get_storage: ^2.1.1
flutter doctor
[✓] Flutter (Channel stable, 3.7.10, on macOS 13.3 22E252
darwin-arm64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK
version 33.0.2)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more
details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK
licenses.
See
https://flutter.dev/docs/get-started/install/macos#android-setup
for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.77.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
Error:
PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null))
get_storage: ^2.1.1
flutter doctor