Div*_*nan 8 android intellij-idea dart flutter flutter-dependencies
我遇到了安装问题。当我运行 flutter doctor 时,我得到以下信息
[?] Flutter (Channel beta, v0.4.4, on Mac OS X 10.11.6 15G19009, locale en)
• Flutter version 0.4.4 at /Users/divyakrishnan/Development/flutter
• Framework revision f9bb4289e9 (11 days ago), 2018-05-11 21:44:54 -0700
• Engine revision 06afdfe54e
• Dart version 2.0.0-dev.54.0.flutter-46ab040e58
[?] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/divyakrishnan/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio 3.0 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices
? Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
? libimobiledevice and ideviceinstaller are not installed. To install, run:
brew install --HEAD libimobiledevice
brew install ideviceinstaller
? ios-deploy not installed. To install:
brew install ios-deploy
? CocoaPods not installed.
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
For more info, see https://flutter.io/platform-plugins
To install:
brew install cocoapods
pod setup
[?] Android Studio
• Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents
? Flutter plugin not installed; this adds Flutter specific functionality.
? Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[!] IntelliJ IDEA Community Edition (version 2018.1.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
? Flutter plugin not installed; this adds Flutter specific functionality.
? Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[!] Connected devices
! No devices available
Run Code Online (Sandbox Code Playgroud)
我在 Android Studio 3.0 和 IntelliJ 中没有看到 flutter 或 dart 插件。
Android Studio 或 IntelliJ 默认不安装这些插件。您需要使用此页面中的说明自行安装它们:
安装 Flutter 和 Dart 插件
Flutter 由两个插件支持:
- Flutter 插件为 Flutter 开发人员的工作流程(运行、调试、热重载等)提供支持。
- Dart 插件提供代码分析(键入时的代码验证、代码完成等)。
要安装这些:
| 归档时间: |
|
| 查看次数: |
12672 次 |
| 最近记录: |