Streamit Laravel - Documentation
Streamit Laravel

How to build and run Android App?

πŸ•’ Estimated Reading:Β 1 Minutes

This guide will help you build and run your mobile application using Android Studio. Follow the steps below to get started.

Step by Step Instructions

Follow these steps to set up and run your application:

1. Download the Project

  • Log in to your CodeCanyon account.
  • Download the latest version of the project ZIP file.
  • Unzip the file on your system.

2. Locate the Mobile App Folder

  • After unzipping the file, locate the mobile apps folder. Inside, you’ll find project named “streamit-laravel-flutter” respectively.

3. Choose Project to Open

  • Select the your project.
  • Right click and unzip you project.
  • After Right click and open with application option select.
  • Select one option

4. Open Project

Android Studio:

  • Click on “File” in the top menu.
  • Select “Open…”
  • Navigate to the directory where your project is located.
  • Select the project folder and click “OK.”

VS Code:

  • Click on “File” in the top menu.
  • Select “Open Folder…”
  • Navigate to the directory where your project is located.
  • Select the project folder and click “Open.”

5. Enable Dart Support

  • First, enable Dart support in the settings or by opening the main.dart file.
  • Look for the Enable Dart option in the right corner and click on it to enable Dart.

6. Get Dependencies

  • After enabling Dart support, the Get Dependencies option will appear.
  • Click on it to fetch the project dependencies. Any existing errors should disappear automatically after this step.

πŸ’‘ Tip: If Errors Persist

INFO

If errors persist, try the following steps in both Android Studio:

– Restart Android Studio.

  • Follow these steps:
    • Select Tools β†’ Flutter β†’ Flutter Clean
    • Select Tools β†’ Flutter β†’ Flutter Pub Get
    • Select Tools β†’ Flutter β†’ Flutter Upgrade
    • Select File β†’ Invalidate Caches / Restart

INFO

If errors persist, try the following steps in both VS Code:

– Restart VS Code.

  • Open Terminal β†’ New Terminal and follow the steps:
    • flutter clean
    • flutter pub get
    • flutter upgrade

7. Connect Device or Launch Emulator

  • Connect your device to the computer or launch the emulator.
  • Run the project after connecting the device and wait for it to deploy on the device.

8: Run the App

  • Click the Run ▢️ button in Android Studio.
  • Wait for the project to build and install on your device or emulator.
πŸŽ‰ You’re All Set!

You have now successfully built and deployed the Flutter app using Android Studio.