Guide On Downloading Flutter and Android Studio
Guide On Downloading Flutter and Android Studio
LAB EXERCISE 1
Learning : Build apps with flows, prototypes, usability practices, and screen-size
objectives/outcomes: independent visual designs. [CLO3]
PART 1: INTRODUCTION
This lab exercise will guide students through building Android and iOS applications using Flutter, a
framework that allows for a single code base. The lab exercise assumes no prior programming experience
and aims to equip students with the tools needed to create real-world mobile applications confidently.
Starting from this lab exercise, the whole lab exercises slowly cover setting up the Flutter environment,
learning the fundamentals of app development, building small to complex applications, connecting apps to
remote data sources, managing data, and working with real-time databases like Firebase. This hands-on
lab exercise is designed for those looking to learn mobile app development with step-by-step instructions.
Traditionally, developers had to learn different programming languages and frameworks for Android and
iOS, leading to separate codebases and increased workload. To overcome this, various JavaScript
frameworks were introduced, but they still had performance issues due to the need for a JavaScript bridge.
1
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
Flutter, a framework developed by Google, uses the Dart programming language to eliminate the need for
a bridge, compiling the code into native code for multiple platforms. This allows for a more efficient and
straightforward approach to cross-platform development. Flutter also provides reactive style views,
customizable and extensible widgets, and direct access to native SDK libraries, making it a powerful and
effective solution for building Android and iOS applications from a single codebase.
2
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
PART 3: ANDROID STUDIO WITH FLUTTER INSTALLATION GUIDE (Windows)
• Visit Flutter website and download the latest version of Flutter SDK for Windows.
• Link: https://flutter.dev/ (Last accessed May 2023)
• Click Get Started.
• Download and install Git for Windows. For macOS, this is not required.
• Choose Git for Windows according to Windows 32-bit/64-bit.
• Go back to Get Started page.
• Download the latest stable release of the Flutter SDK (approximately 874MB).
• Go to Windows Search and search for Edit the system environment variables.
3
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
• Then click on Path and then click Edit. A new dialog will pop up. Click on New.
• Type in C:\Flutter_Dev\flutter\bin.
4
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
5
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
6
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
• Once Android Studio is installed, go to Plugin and install Flutter. When asked to install Dart, just do it.
• Tips: Type flutter doctor in Windows Command Prompt to do a quick installation verification.
7
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
• Click Next.
8
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
9
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
• Subsequently, select your Phone (can be anything actually) and System Image.
• Then, launch your Android Virtual Device (AVD).
10
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
• Run main.dart.
11
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
PART 4: LAB EXERCISES 1
12
KD04103 MOBILE APPLICATION DEVELOPMENT
LAB EXERCISE 1
PART 5: RUBRICS
• Your report should include a screenshot of your application running without any problem, either
in your real phone, or in the emulator.
• You should also record the demonstration of your application as evidence.
13