以下输出具有误导性,因为我的 android sdk 中的构建工具是最新的 - 我只是没有安装 sdk 的 SDK 平台部分。
$ flutter doctor
[✓] Flutter (on Linux, channel master)
• Flutter at <redacted>
• Framework revision 2ac7d67e6a (85 minutes ago), 2016-10-25 10:40:54
• Engine revision a8604ba9d2
• Tools Dart version 1.21.0-dev.0.0
[-] Android toolchain - develop for Android devices
• Android SDK at <redacted>
x Android SDK does not have the proper build-tools.
• Try re-installing or updating your Android SDK.
[✓] Atom - a lightweight development environment for Flutter
• flutter plugin version 0.2.6
• dartlang plugin version 0.6.42
Device <redacted> is not authorized.
You might need to check your device for an authorization dialog.
[✓] Connected devices
• None
我建议我们将其更改为Android SDK is missing command line tools; download from https://goo.gl/XxQghQ)
。
抄送@丹鲁贝尔
当您收到此消息时,到底缺少什么? 我明白了,我在 Arch 上,我安装了android-tools
和android-platform
。
最有用的评论
当您收到此消息时,到底缺少什么? 我明白了,我在 Arch 上,我安装了
android-tools
和android-platform
。