如何在 Android Studio 中打开现有的 Flutter 项目 [英] How to open an existing Flutter Project in Android Studio

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

问题描述

我在这里可能听起来很菜,但我看不到在 Android Studio 3.1.2 中打开现有 Flutter 项目的明确方法.

我检查了

通过运行Get Dependencies解决了这个错误.这是正常行为吗?

解决方案

  1. 为 Android studio 安装 Flutter 插件:

    I might sound noob here but I can't see a clear way of opening existing Flutter Project in Android Studio 3.1.2.

    I checked this but it didn't work. So I want to know if there is a standard IDE way of doing this? I also can't find any docs clearly mentioning it. Do I need to install a 3rd party plugin?

    After opening it as an Existing Android Studio Project, I get the following error:

    The error is solved by running Get Dependencies. Is it a normal behavior?

    解决方案

    1. Install Flutter plugin for Android studio: https://flutter.io/get-started/editor/

    2. Open Android Studio

    3. Open existing Android Studio project by using one of below methods:


    EASIEST WAY: Drag your project folder and drop to Android Studio.


    Other ways:

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

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