![](/img/trans.png)
[英]Unable to set Launcher Icon in Flutter Project in Android Studio 4.0.1
[英]New Flutter Project wizard not showing on Android Studio 4.0.1
自 Android Studio 4 發布以來,啟動對話框缺少創建新 flutter 項目的選項。 我已經嘗試了這里提到的所有解決方案
新的 Flutter 項目向導未在 Android Studio 3.0.1 上顯示
但還是沒有運氣? 該怎么辦。 有人甚至可以使用 AS 4.0?1 嗎?
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.20.0-7.2.pre, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.47.3)
[✓] Connected device (3 available)
• No issues found!
最后通過從我的用戶目錄中刪除.AndroidStudio4.0
配置文件夾來解決這個問題。
It simply created a new .AndroidStudio4.0
folder along with the next launch of Android Studio, installed dart and flutter plugins and I'm good to go.
- close Android Studio if it's running.
- delete or rename the `.AndroidStudio4.0` config folder in user directory.
- launch Android Studio, and walk through a new configuration
- install `dart` and `flutter` plugins and restart IDE
現在您可能應該在啟動向導中看到該選項。
更新: In new version of Android Studio(from ~4.1), they have moved the location of config folder. You can find it here: C:\Users\%userfolder%\AppData\Roaming\Google\AndroidStudio4.1
In new version of Android Studio(from ~4.1), they have moved the location of config folder. You can find it here: C:\Users\%userfolder%\AppData\Roaming\Google\AndroidStudio4.1
刪除用戶目錄下的 AndoidStudio4.0 config 文件夾。 啟動 android studio 進行所有必需的配置設置 安裝 Flutter 和 Dart 重新啟動 Z581D6381F3F35E4F36D772
一切都應該很好
對我來說,我剛剛安裝了 Flutter 和 Dart 插件。 我沒有 AndroidStudio4.0 文件夾。 我的 Android Studio 版本:4.1
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.