This is a Python Kivy application that automatically builds an Android APK using GitHub Actions.
main.py
- Main application codebuildozer.spec
- Build configuration file.github/workflows/build.yml
- GitHub Actions workflowrequirements.txt
- Python dependencies
- Install Python 3.9 or later
- Install dependencies:
pip install -r requirements.txt
- Run the app locally:
python main.py
-
Install Buildozer:
pip install buildozer
-
Install system dependencies (Ubuntu/Debian):
sudo apt-get update sudo apt-get install -y \ python3-pip \ build-essential \ git \ python3 \ python3-dev \ ffmpeg \ libsdl2-dev \ libsdl2-image-dev \ libsdl2-mixer-dev \ libsdl2-ttf-dev \ libportmidi-dev \ libswscale-dev \ libavformat-dev \ libavcodec-dev \ zlib1g-dev \ libgstreamer1.0 \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good
-
Build the APK:
buildozer android debug
The project is set up with GitHub Actions to automatically build the APK whenever you push to the main branch or create a pull request. The built APK will be available as an artifact in the Actions tab.
This project is open source and available under the MIT License.