This guide covers how to build LoliSnatcher locally for development and testing.
See pubspec.yaml for currently used Flutter SDK version
- Install Flutter following the official guide
- Verify installation:
flutter --version flutter doctor
See pubspec.yaml for currently used Dart SDK version
# Clone the repository
git clone https://github.com/NO-ob/LoliSnatcher_Droid.git
cd LoliSnatcher_Droid
# Install dependencies
flutter pub get# Build APK for manual install
sh ./build.shOutput locations:
- APK:
build/app/outputs/flutter-apk/LoliSnatcher_[version]_[build]_[arch]_[store/github/test].apk
# Run app on connected device/emulator
flutter run
# Run on specific device
flutter devices # List available devices
flutter run -d <device_id> # Run on specific deviceSome features (i.e. localization changes) require code generation. Run after modifying relevant files:
# Generate localization types (after editing i18n JSON files)
dart run ./loc_build.dart
# General build runner (if needed)
dart run build_runner build