Skip to content

server-craftsman/swd392-mobile-electrical-preorder-system

Mobile application for electrical preorder system

Flutter Logo

Getting Started

This project is a starting point for a Flutter application.

Installation and Setup

Prerequisites

  • Ensure you have Flutter installed. Follow the instructions here to install Flutter on your machine.
  • Ensure you have an IDE such as Android Studio or Visual Studio Code installed.

Setting up Flutter for Virtual Device

  1. Install Android Studio:

    • Download and install Android Studio from here.
    • Open Android Studio and go to Preferences > Plugins and install the Flutter and Dart plugins.
    • Set up an Android emulator by going to AVD Manager and creating a new virtual device.
  2. Run the Flutter App on Virtual Device:

    • Open your Flutter project in Android Studio.
    • Start the Android emulator from AVD Manager.
    • Click on the Run button or use the command flutter run in the terminal.
    • Press F5 to start debugging and experience the development environment.

Setting up Flutter for Physical Device

  1. Enable Developer Mode on your device:

    • Go to Settings > About phone and tap Build number seven times to enable developer mode.
    • Go to Settings > Developer options and enable USB debugging.
  2. Connect your device:

    • Connect your Android device to your computer using a USB cable.
    • Ensure your device is detected by running flutter devices in the terminal.
  3. Run the Flutter App on Physical Device:

    • Open your Flutter project in your preferred IDE.
    • Select your connected device from the device dropdown.
    • Click on the Run button or use the command flutter run in the terminal.
    • Press F5 to start debugging and experience the development environment.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

© 2025 Huy IT