Skip to main content

Installation Guide

This guide will help you install all required tools and dependencies to develop and run the Viax platform.

System Requirements

Minimum:
  • Windows 10 (64-bit) or later
  • 8 GB RAM (16 GB recommended)
  • 10 GB free disk space
  • Git for Windows
Recommended:
  • Windows 11
  • 16 GB RAM
  • SSD storage
  • Administrator access

Step 1: Install Flutter SDK

Download Flutter

1

Visit Flutter Website

2

Select Your OS

Choose your operating system (Windows, macOS, Linux)
3

Download SDK

Download the latest stable Flutter SDK (3.35.3 or higher)

Install Flutter

Run Flutter Doctor

This command checks your environment and displays a report. Fix any issues marked with [!] or [X]. Expected Output:

Step 2: Install Android Development Tools

Android Studio

1

Download Android Studio

2

Install

Run the installer and follow the setup wizard
3

Install Android SDK

Android Studio will install:
  • Android SDK
  • Android SDK Platform-Tools
  • Android SDK Build-Tools
4

Configure Flutter Plugin

  1. Open Android Studio
  2. Settings/Preferences > Plugins
  3. Search “Flutter”
  4. Install Flutter plugin (includes Dart)
  5. Restart Android Studio

SDK Manager Configuration

In Android Studio > Tools > SDK Manager > SDK Platforms:Install:
  • ☑ Android 13.0 (API 33)
  • ☑ Android 12.0 (API 31)
  • ☑ Android 11.0 (API 30)

Accept Android Licenses

Press ‘y’ to accept all licenses.

Step 3: iOS Development (macOS Only)

iOS development is only available on macOS with Xcode installed.

Install Xcode

1

Download Xcode

Open App Store and search for “Xcode”
2

Install

Download and install (this may take a while, ~15 GB)
3

Open Xcode

Launch Xcode to complete initial setup
4

Install Command Line Tools

5

Install CocoaPods

iOS Simulator


Step 4: Code Editor Setup

1

Install VS Code

Download from code.visualstudio.com
2

Install Extensions

Required extensions:
  • Flutter (by Dart Code)
  • Dart (by Dart Code)
Optional but recommended:
  • Error Lens (inline errors)
  • Bracket Pair Colorizer (code readability)
  • GitLens (Git integration)
  • Material Icon Theme (file icons)
3

Configure Settings

Open settings (Ctrl+, or Cmd+,) and set:

Android Studio (Alternative)

If you prefer Android Studio:
  1. Ensure Flutter and Dart plugins are installed
  2. File > Settings > Plugins > Install Flutter plugin
  3. Restart Android Studio

Step 5: Install Git

  1. Download from git-scm.com
  2. Run installer
  3. Use default settings or customize
  4. Verify:

Configure Git


Step 6: Clone Viax Repository


Step 7: Install Project Dependencies

Flutter Dependencies

Key Dependencies Installed:

Step 8: Set Up Device/Emulator

Android Emulator

1

Open AVD Manager

Android Studio > Tools > Device Manager
2

Create Virtual Device

  • Click “Create Device”
  • Select phone (e.g., Pixel 7)
  • Choose system image (API 33 recommended)
  • Configure AVD settings
  • Click Finish
3

Launch Emulator

Physical Device

  1. Enable Developer Options:
    • Settings > About Phone
    • Tap “Build Number” 7 times
  2. Enable USB Debugging:
    • Settings > Developer Options
    • Enable “USB Debugging”
  3. Connect via USB:
    • Connect phone to computer
    • Allow USB debugging on phone
    • Verify:

Step 9: Verify Installation

Run Flutter Doctor

All items should show [✓]:

Test Run

Run Viax


Troubleshooting

Problem: Terminal doesn’t recognize flutter commandSolution:
  1. Verify Flutter is in PATH:
  2. Add Flutter bin directory to PATH
  3. Restart terminal
  4. Try: flutter --version
Problem: flutter doctor shows Android licenses issueSolution:
Problem: Xcode command line tools not foundSolution:
Problem: Flutter can’t find Android SDKSolution:
  1. Open Android Studio
  2. Tools > SDK Manager
  3. Note SDK location (e.g., C:\Users\YourName\AppData\Local\Android\Sdk)
  4. Set environment variable:
Problem: Android Emulator fails to launchSolution:
  1. Enable virtualization in BIOS (Intel VT-x or AMD-V)
  2. Install HAXM:
    • SDK Manager > SDK Tools > Intel x86 Emulator Accelerator
  3. Try different system image (API 30 or 31)
  4. Increase emulator RAM in AVD settings
Problem: Pod install failsSolution:

Next Steps

Environment Configuration

Configure API URLs and environment variables

Local Development

Set up local backend with Laragon

Quickstart

Get the app running quickly

Architecture

Understand the codebase structure
Installation Complete! You’re now ready to develop and run Viax on your machine.