Streamit TV - Documentation

How to build and run Android App?

Build and Run Your Application

Follow these steps to set up and run your application:

1. Download the Project:

  • Download the project from CodeCanyon and unzip it.

2. Locate the Mobile App Folder:

  • After unzipping the file, locate the mobile apps folder. Inside, you’ll find project named “streamit-TV” 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:

  1. 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.”
  2. 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.

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.