[英]Flutter doctor --> Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[英]Flutter Doctor licence status issue Android toolchain - develop for Android devices (Android SDK version 32.0.0)
我運行 flutter 醫生,它拋出了 android 狀態未知我該怎么辦?
這是我的 flutter 醫生結果:-
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.0.1 21A559 darwin-x64, locale
en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
✗ 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 13.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.0)
[✓] Connected device (2 available)
嘗試在終端中運行以下命令
flutter 醫生 --android-licenses
試試這些:
然后運行 flutter 醫生並查看結果
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.