Installation Guide
This guide will help you install all required tools and dependencies to develop and run the Viax platform.System Requirements
- Windows
- macOS
- Linux
Minimum:
- Windows 10 (64-bit) or later
- 8 GB RAM (16 GB recommended)
- 10 GB free disk space
- Git for Windows
- Windows 11
- 16 GB RAM
- SSD storage
- Administrator access
Step 1: Install Flutter SDK
Download Flutter
Visit Flutter Website
Go to flutter.dev
Install Flutter
Run Flutter Doctor
Step 2: Install Android Development Tools
Android Studio
Download Android Studio
Install Android SDK
Android Studio will install:
- Android SDK
- Android SDK Platform-Tools
- Android SDK Build-Tools
SDK Manager Configuration
- Required SDK Platforms
- Required SDK Tools
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
Step 3: iOS Development (macOS Only)
Install Xcode
iOS Simulator
Step 4: Code Editor Setup
VS Code (Recommended)
Install VS Code
Download from code.visualstudio.com
Install Extensions
Required extensions:
- Flutter (by Dart Code)
- Dart (by Dart Code)
- Error Lens (inline errors)
- Bracket Pair Colorizer (code readability)
- GitLens (Git integration)
- Material Icon Theme (file icons)
Android Studio (Alternative)
If you prefer Android Studio:- Ensure Flutter and Dart plugins are installed
- File > Settings > Plugins > Install Flutter plugin
- Restart Android Studio
Step 5: Install Git
- Windows
- macOS
- Linux
- Download from git-scm.com
- Run installer
- Use default settings or customize
- Verify:
Configure Git
Step 6: Clone Viax Repository
Step 7: Install Project Dependencies
Flutter Dependencies
- State Management
- Networking
- Maps & Location
- UI Components
- Utilities
Step 8: Set Up Device/Emulator
Android Emulator
Create Virtual Device
- Click “Create Device”
- Select phone (e.g., Pixel 7)
- Choose system image (API 33 recommended)
- Configure AVD settings
- Click Finish
Physical Device
- Android Device
- iOS Device
- Enable Developer Options:
- Settings > About Phone
- Tap “Build Number” 7 times
- Enable USB Debugging:
- Settings > Developer Options
- Enable “USB Debugging”
- Connect via USB:
- Connect phone to computer
- Allow USB debugging on phone
- Verify:
Step 9: Verify Installation
Run Flutter Doctor
Test Run
Run Viax
Troubleshooting
Flutter command not found
Flutter command not found
Problem: Terminal doesn’t recognize
flutter commandSolution:- Verify Flutter is in PATH:
- Add Flutter bin directory to PATH
- Restart terminal
- Try:
flutter --version
Android licenses not accepted
Android licenses not accepted
Problem:
flutter doctor shows Android licenses issueSolution:Xcode not configured (macOS)
Xcode not configured (macOS)
Problem: Xcode command line tools not foundSolution:
Unable to locate Android SDK
Unable to locate Android SDK
Problem: Flutter can’t find Android SDKSolution:
- Open Android Studio
- Tools > SDK Manager
- Note SDK location (e.g.,
C:\Users\YourName\AppData\Local\Android\Sdk) - Set environment variable:
Emulator won't start
Emulator won't start
Problem: Android Emulator fails to launchSolution:
- Enable virtualization in BIOS (Intel VT-x or AMD-V)
- Install HAXM:
- SDK Manager > SDK Tools > Intel x86 Emulator Accelerator
- Try different system image (API 30 or 31)
- Increase emulator RAM in AVD settings
CocoaPods errors (iOS)
CocoaPods errors (iOS)
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.