Android Studio(未安装),当在机器上安装 Android Studio 时运行 flutter doctor [英] Android Studio (not installed) , when run flutter doctor while Android Studio installed on machine
本文介绍了Android Studio(未安装),当在机器上安装 Android Studio 时运行 flutter doctor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在 mac 上运行 flutter doctor 命令时,显示如下,虽然我已经安装了 Android Studio,但我可以从 Android Studio 运行 ios build.
When I run flutter doctor command on mac its showing below, while I already install Android Studio, and I can run ios build from Android Studio.
[!] Android Studio(未安装)
颤动医生输出:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.5 18F132, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[!] Android Studio (not installed)
[✓] Connected device (1 available)
推荐答案
对我有用的解决方案是(双击下载的文件 IDE 后)将 Android Studio 程序移动到应用程序文件夹中.
A solution that worked for me was (after double clicking the downloaded file IDE) move the Android Studio program into the applications folder.
我运行了 Flutter Doctor 并遵循了所有提示.为我工作.
I ran Flutter Doctor and followed all prompts. worked for me.
这仅适用于 MacOS
This works on MacOS only
这篇关于Android Studio(未安装),当在机器上安装 Android Studio 时运行 flutter doctor的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文