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
1
Visit Flutter Website
Go to flutter.dev
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
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
- Open Android Studio
- Settings/Preferences > Plugins
- Search “Flutter”
- Install Flutter plugin (includes Dart)
- Restart Android Studio
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
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
VS Code (Recommended)
1
Install VS Code
Download from code.visualstudio.com
2
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)
3
Configure Settings
Open settings (Ctrl+, or Cmd+,) and set:
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
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
- 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.