Contributing
Thank you for your interest in contributing to PVZRH Android Launcher!
Getting Started
- Fork the repository
- Clone your fork
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Commit and push
- Open a Pull Request
Development Environment
- Android Studio Ladybug or later
- JDK 17
- Android SDK with NDK 27.0.12077973 and CMake 3.22.1
Build
powershell
$env:ANDROID_HOME="E:\Android\Sdk"; .\gradlew.bat :app:assembleDebugOutput: app/build/outputs/apk/debug/app-debug.apk
Installing to Device
Always uninstall first, then install:
powershell
adb uninstall com.pvzrh.android.launcher
adb install app\build\outputs\apk\debug\app-debug.apkCode Style
- Kotlin with Jetpack Compose
- Follow existing patterns in the codebase
- Keep comments minimal — describe what and why, not how
- Code comments max 2 lines
- Summary/class-level comments only
Commit Convention
feat: add new featurefix: resolve issuerefactor: improve code structuredocs: update documentationci: change CI configurationui: visual changes
Pull Requests
- Keep PRs focused on a single change
- Describe what you changed and why
- Test on a real device before submitting
- Ensure the build passes
Reporting Issues
- Use GitHub Issues
- Include device model, Android version, and launcher version
- Attach crash logs if available
- Describe steps to reproduce
License
By contributing, you agree that your contributions will be licensed under the GPL-3.0 License.