How to Import Flutter Project in Android Studio?

· 4 min read
How to import Flutter project in Android Studio?
How to import Flutter project in Android Studio?

Let’s say we already have a Flutter App project in the directory named Flutter. So, in this article, we will see how to Import Flutter Project in Android Studio.

How to Import Flutter Project in Android Studio?

Flutter:

Flutter is developed by Google and it is an open-source UI toolkit. We can also say it is a framework for creating some effective, beautiful native Android and iOS applications from a single codebase.

It means that we don’t have to worry about different platforms for building separate apps for Android and iOS. We can develop a single app that would go for both platforms. The programming language Dart is used in Flutter to develop applications.

Android Studio:

Android Studio is the official IDE to develop all kinds of android applications. It is supported by the Intellij IDEA which is an IDE for writing JAVA code. Android Studio offers various effective features that help developers to create a normal and complex android application as well.

It supports a fully functional Android Emulator on which user can emulate their developed application which also has a great feature. We can test our application on every level on that emulator before deploying it on the real device.

Let’s say we have already had a Flutter Project in the directory named Flutter. Before importing this project into the Android Studio we have to install two plugins in the Android Studio, here’s how we do it.

Step 1:

So, open the Android Studio and select Tools from the menu bar, and click on SDK Manager.

Step 2:

 In the newly open window click on the plugins and in the search bar search for Flutter and Dart and then install it.

Step 3:

Now after installing Flutter and Dart we are ready to import a Flutter project. For that just go forFile>New>Import Project.

Step 4:

Now in the new pop-up window go for the directory in which the Flutter project is already available in this case we have a testapp project. After that click on that directory and we have successfully imported an existing Flutter project in Android Studio.

Step 5:

Now there will be a default .dart page over there which has already a sample code written on it and we can check it by running the application by selecting Chrome web as our device and clicking on the Green play button to run the application and we can see our result on the web page.

Conclusion:

Thanks for being with us on a Flutter Journey!

So, in this article, we have seen how to Import Flutter Project in Android Studio. Also, feel free to comment and provide any other suggestions regarding Flutter.

Flutter Agency is our portal Platform dedicated to Flutter Technology and Flutter Developers. Also, the portal is full of cool resources from Flutter like Flutter Widget GuideFlutter Projects, Code libs and etc.

We are one of the most popular online portals dedicated to Flutter Technology. Daily thousands of unique visitors come to this portal to enhance their knowledge of Flutter.

Leave a Reply