android-studio - Android Studio + Flutter 打不开
问题描述
我打开这个项目,我得到了错误。我无法运行模拟器而不会出现很多错误。我是 Android Studio 和 Flutter 的新手。
颤振医生
[✓] Flutter (Channel beta, v1.11.0, on Mac OS X 10.15.3 19D76, locale en-GB)
• Flutter version 1.11.0 at /Users/tobiadegoroye/flutter
• Framework revision 856a90e67c (4 months ago), 2019-11-08 18:00:01 -0800
• Engine revision af04338413
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/tobiadegoroye/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 11.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2.1, Build version 11B500
✗ CocoaPods installed but not working.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods. For more info, see https://github.com/flutter/flutter/issues/14293.
To re-install CocoaPods, run:
sudo gem install cocoapods
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[!] IntelliJ IDEA Community Edition (version 2019.3)
• 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.dev/intellij-setup/#installing-the-plugins
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
! Doctor found issues in 2 categories.
解决方案
推荐阅读
- java - @Formula 来自 application.properties 的输入模式
- node.js - 解析 AWS Lambda 响应
- c - 如何修复 c 中的预期标识符错误?
- javascript - Js在锚点中用@sometext替换链接文本
- mysql - 致命错误:找不到 my_print_defaults(在 Mac 上安装 MariaDB 二进制压缩包)
- python - 如何成功下载库但无法从中导入项目?
- ansible - 如何在 Ansible 剧本中冻结变量值
- javascript - 获取特定列的值并过滤特定列 - Google Apps 脚本
- powerbi - Power BI,规则管理
- python - 使用 matplib python 更改图形的位置和大小