0% found this document useful (0 votes)
31 views15 pages

Install

This document provides a step-by-step guide for setting up Android Studio to run Flutter applications, including installing necessary plugins and configuring SDK paths. It outlines the process of creating a new Flutter project and emphasizes the importance of setting a unique package name for future app releases. Additionally, it describes how to run the application on an Android device using Android Studio's toolbar.

Uploaded by

vminkooker2002
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)
31 views15 pages

Install

This document provides a step-by-step guide for setting up Android Studio to run Flutter applications, including installing necessary plugins and configuring SDK paths. It outlines the process of creating a new Flutter project and emphasizes the importance of setting a unique package name for future app releases. Additionally, it describes how to run the application on an Android device using Android Studio's toolbar.

Uploaded by

vminkooker2002
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
You are on page 1/ 15

Setup

◼ Set up Android Studio to run Flutter Applications. Android Studio is one of the popular
IDE developed by Google itself to create cross-platform android applications. First, you have to
install Android Studio of version 3.0 or later, as it offers an integrated IDE experience for
a Flutter

1
Install the Flutter and Dart plugins

◼ After the successful installation of Android Studio, you have to install Flutter
and Dart plugins. To do so follow the steps mentioned below:
◼ Start Android Studio.
◼ Open plugin preferences (Configure > Plugins as of v3.6.3.0 or later).
◼ Select the Flutter plugin and click Install.
◼ Click Yes when prompted to install the Dart plugin.
◼ Click Restart when prompted.
◼ Open plugin preferences:
◼ For macOS: Preferences > Plugins on macOS,
◼ For Linux and Windows: File > Settings > Plugins

2
Creating the application:

◼ After installing Dart and Flutter plugins create a flutter app to check if it is
working properly or not, to do so follow the steps mentioned below:
◼ Step 1: Open the IDE and select Start a new Flutter project.

3
Configure Flutter SDK and Dart SDK Path if not Set

◼ Step 1 : Go to File Menu


Step 2 : Click on Settings ( Ctrl + Alt + S)
Step 3: then click on Flutter under Language & Frameworks Tab
Step 4: In my PC I installed flutter in this location ( C:\src\flutter )
[Note : please copy your PC installed location of flutter ]
Step 5 : Copy above Location and paste it to your Flutter SDK
path: location and click on Apply and OK
Step 6 : after above settings you will see that Dart SDK path set
automatically.

4
Settings under File Menu

5
6
7
Step 2
◼ Select the Flutter Application as the project type. Then
click Next.

8
Step 3

◼ Verify the Flutter SDK path specifies the SDK’s location (select Install
SDK… if the text field is blank)

9
Step 4
◼ Enter a project name (for example, myapp). Then click Next.

10
Step 5: Click Finish

11
Step 6
◼ Wait for Android Studio to install the SDK and create the project.
◼ When creating a new Flutter app, some Flutter IDE plugins ask for a company
domain name in reverse order, something like com.example. The company
domain name and project name are used together as the package name for
Android (the Bundle ID for iOS) when the app is released. If you think that
the app might be released, it’s better to specify the package name now. The
package name can’t be changed once the app is released, so make the name
unique.

12
Running the application

◼ Step 1: Locate the main Android Studio toolbar

13
Step 2
◼ In the target selector, select an Android device for running the app. If none are listed as
available, select Tools> Android > AVD Manager and create one there. For details,
see Managing AVDs.

14
Step 3

◼ Click the run icon in the toolbar, or invoke the menu item Run > Run.
◼ After the app build completes, you’ll see the starter app on your device.

15

You might also like