ProKit Flutter - Documentation
ProKit Flutter

How to build App and Run

πŸ•’ Estimated Reading: 1 Minutes
πŸ“‚ Location: 
FAQs β†’ App FAQs β†’ How to Build App and Run

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

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

βœ… Step 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.

βœ… Step 2: Locate the Mobile Apps Folder

  • After extracting the ZIP, locate theΒ mobile-appsΒ folder.
  • Inside, you’ll findΒ two separate projects:
    • User App
    • Client App

βœ… Step 3:  Choose Project to Open

  • You can optionally copy both projects to a new location.
  • In this example, we’ll proceed with theΒ User App.
  • OpenΒ Android StudioΒ and clickΒ β€œOpen”.
  • Select theΒ user-appΒ folder.

βœ… Step 4: Open Project in Android Studio

  • Once selected, the project will start loading in Android Studio.

βœ… Step 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.

βœ… Step 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

Try the following steps in order:

  1. Restart Android Studio
  2. Then go to:
    • Tools β†’ Flutter β†’ Flutter Clean
    • Tools β†’ Flutter β†’ Flutter Pub Get
    • Tools β†’ Flutter β†’ Flutter Upgrade
    • File β†’ Invalidate Caches / Restart

βœ… Step 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.

βœ… Step 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.