0% found this document useful (0 votes)
11 views10 pages

Importing Flutter Project - 0

Uploaded by

blauslink
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views10 pages

Importing Flutter Project - 0

Uploaded by

blauslink
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Importing and running flutter project

Requirements:-
• Flutter should be installed on system (latest version)
• Android studio should be installed (preferred over other editors)
• Flutter plugins are required
• Android/ios device or emulator for testing application

Before moving further it is assumed that all these requirements are fulfilled by the user. so without wasting any
time let's move on to our first step.
Step-1
Download the appcode zip file in any folder on
your system as you can see in picture.

Step-2
Extract the appcode zip in that folder or in any
other folder you want. Do remember the path of
extracted zip file as we are going to use this
while importing project in android studio.
Step-3
open up your android studio, if any project is running close it using
File -> close project

after this a studio's home window will appear in front of you.

Step-4

Click on third option


"Open an existing Android studio project"

it will open up android studio file


manager in front of you, from where
we have to navigate to our project
location (extracted zip file location).
Step-5 Step-6
Navigate to your project location. Wait while project is indexing. You can check that in
Double click on the extracted zip bottom bar in android studio.
folder to open it. Note:- Do not perform any operation during indexing

Step-7
After indexing you will see a this project structure in
front of you.
Step-8 Step-9 Step-9
open "appcode" directory by Navigate to lib directory within Navigate to [Link] file within
clicking on the arrow in front the "appcode" directory the "lib" directory
of it
Step-11
Double click on [Link] file to open it up in the editor.

You will face


this error
while
importing
the project
for first time
but it very
easy to
resolve
Step-12 Step-13
Let's resolve this error quickly. But this doesn't end up here only, have a
look at the project structure it contains lots
and lots of errors.

Click on enable dart support option in


top right corner of the window (make
sure you have installed flutter SDK along
with dart SDK in your system).
Step-14 Step-15
Again it is very easy to get [Link] file open’s up in front of you in android studio editor.
rid of all these errors. Don't try to make changes in this file. Have a look on top right corner
Navigate to "[Link]" of the window.
file double click to open it.
Step-15 Step-17
You will find an option named Pub get click Wait for 20-60 seconds and you will see that

on it and wait for 10 seconds atleast all errors are gone now.

Step-16
Terminal will open in front you after executing some
operations it will show a time stamp, which is sign
of success
Step-18 Step-19
With in the toolbar you will see a dropdown Connect your device with your system. Make
which shows the selected devices. If you sure USB debugging and verify apps over
haven't connected any device it will show USB is turned on, if not you can find these
you "no device selected". options in "Developers option" in settings.

You will notice in change in the dropdown once your device


is connected

You might also like