android-studioflutter

How to open an existing Flutter Project in Android Studio


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:

error

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


Solution

    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 1

    Android Studio 2

    Android Studio 3