This guide walks you through everything needed to get ErgoKawsay running on your local machine. By the end you will have the app launching on an Android emulator or physical device, ready for development or exploration. The entire setup takes about five minutes once Flutter is installed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Cristiang1021/ErgoKawsay/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Confirm the following tools are available before you begin:Flutter SDK ≥ 3.2.0
The Flutter SDK is required to build and run the app. Version 3.2.0 or later is needed to satisfy the Dart SDK constraint (
>=3.2.0 <4.0.0).Dart ≥ 3.2.0
Dart 3.2.0 or later is required. Dart ships bundled with the Flutter SDK — no separate installation is needed.
Android SDK — API 21+
Android 5.0 (Lollipop) or higher is the minimum supported platform. Install via Android Studio or the standalone command-line tools.
Editor: VS Code or Android Studio
Either editor works well. Install the official Flutter extension (VS Code) or Flutter plugin (Android Studio) for hot reload, debugging, and device management.
Installation
Install Flutter and verify your environment
Download and install the Flutter SDK from the official installation guide, then verify everything is set up correctly:Resolve any issues flagged by
flutter doctor — particularly the Android toolchain and connected-devices entries — before continuing.Install dependencies
Fetch all Dart and Flutter package dependencies declared in This resolves packages such as
pubspec.yaml:provider, just_audio, video_player, flutter_local_notifications, and shared_preferences.Run on Android Emulator
If you prefer an emulator over a physical device, launch one first and then target Android explicitly:Replace
Medium_Phone_API_36.1 with the name of any emulator listed by flutter emulators. ErgoKawsay targets portrait orientation only — the emulator will lock to portrait automatically.Build a Release APK
To produce a release-signed APK for sideloading or distribution:Play Store Bundle
For submission to the Google Play Store, build an Android App Bundle (.aab) instead:
build/app/outputs/bundle/release/app-release.aab.
Static Analysis
Run the Flutter analyzer to catch type errors, lint warnings, and code-style issues before committing:flutter_lints as its analysis rule set, configured in analysis_options.yaml.
Regenerating Translations (Optional)
Python 3 and This regenerates
pyyaml are only needed if you modify translations.yaml and need to regenerate the compiled Dart file. Regular development and building does not require Python.lib/core/localization/tr.dart from the bilingual source strings in translations.yaml. Supported language codes are es (Spanish) and qu (Kichwa).