如何在 Android Studio 中启动 Dart 项目? [英] How to start Dart project in Android Studio?

查看:58
本文介绍了如何在 Android Studio 中启动 Dart 项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装 Flutter 插件的过程中,据说还会安装 Dart 插件.所以我安装了它们.但是当我打开文件 > 新建"菜单时,我会看到新建 Flutter 项目"、新建项目",但对 Dart 一无所知.
在新建项目"对话框中,我只看到包括 C++ 支持"、包括 Kotlin 支持".
我如何开始简单的 Dart 项目?

During installation of Flutter plugin it was said that Dart plugin will also be installed. So I installed them both. But when I open "File > New" menu I see "New Flutter project", "New Project" but nothing about Dart.
In "New Project" dialog I see "Include C++ support", "Include Kotlin support" only.
How could I start simple Dart project ?

推荐答案

考虑安装 IntelliJ IDEA 社区版,如果你使用 Android Studio 应该会感觉很熟悉.安装 Dart 语言插件,您将获得 Dart 程序的 File/New Project 选项.(这只是为 stagehand 提供了一个向导前端,如 creative creator 所述.)请注意,您还必须下载并安装 Dart SDK.(请勿尝试将 Flutter 提供的 Dart SDK 用于普通 Dart 项目.)

Consider installing IntelliJ IDEA Community Edition, which should feel familiar if you use Android Studio. Install the Dart language plugin and you'll get the File / New Project options for Dart programs. (This just provides a wizard front-end to stagehand, as described by creative creator.) Note that you must download and install the Dart SDK also. (Do not try to use the Dart SDK provided by Flutter for plain Dart projects.)

这篇关于如何在 Android Studio 中启动 Dart 项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆