簡體   English   中英

運行 flutter 醫生后出錯:無法找到 Android SDK

[英]Error after running flutter doctor : Unable to locate Android SDK

I got these errors after installing flutter then running flutter doctor to check if the installation succeeded, Although I've installed both Android Studio and Android SDK in Android Studio's installation progress steps with no issues at all, what do I have to do now?

點擊這里顯示圖片!

如果您使用的是 android 工作室,請嘗試以下步驟:

  1. 單擊工具 > SDK 管理器。

  2. 在 SDK 平台選項卡中,select Android 10 (29)。

  3. 在 SDK 工具選項卡中,select Android ZF20E3C5E54C0AB3D376AZ-Tools 構建

  4. 單擊確定開始安裝。

如果上述步驟不能解決您的問題,請嘗試更新 SDK 路徑

flutter config --android-sdk <path-to-your-android-sdk-path>

注意:路徑必須用雙引號括起來

"C:\Users\username\AppData\Local\Android\Sdk"

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM