简体   繁体   English

Flutter医生在Mac上为演示应用程序显示sdkmanager错误

[英]Flutter doctor shows sdkmanager error for demo app on Mac

I'm keen to try flutter on my MacBook running MacOS 10.13.3. 我很想尝试在MacBook上运行MacOS 10.13.3。 I've been reading with interest this seemingly excellent step-by-step guide: 我一直在兴趣阅读这个看似非常出色的分步指南:

https://medium.com/@sethladd/installing-flutter-on-a-mac-13a26340f80a https://medium.com/@sethladd/installing-flutter-on-a-mac-13a26340f80a

It all goes well until I get to the point where I need to run: 一切顺利,直到我到达我需要运行的地步:

flutter doctor --android-licenses

but for me I get… 但对我来说,我得到......

Graham-Macbook12-2015:my_first_app graham.hobson$ flutter doctor --android-licenses 
sdkmanager --version failed: 1

I have redownloaded Java but that doesn't fix it. 我已经重新加载了Java但是没有修复它。 Some articles here suggest that it might be something do with my path and the SDK not being on it, but I can't see the problem. 这里的一些文章表明它可能与我的路径有关,SDK不在其上,但我看不出问题。 Does anyone have any other suggestions? 有没有人有任何其他建议?

Where can I download an older version of the Android SDK? 我在哪里可以下载旧版Android SDK?

View the answer by Maverick09 查看Maverick09的答案

Hope this helps! 希望这可以帮助!

NOTE: I don't have a Mac 注意:我没有Mac

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM