Deploying Your Kivy/Python App to Android with Buildozer

Опубликовано: 18 Июль 2026
на канале: Erik Sandberg
156,023
2.2k

Follow along with me as I deploy a simple Hello World Python/Kivy application to an Android phone. I used a Windows machine running an Ubuntu 18.04 image in VirtualBox since buildozer doesn't run directly on Windows.👇 LINKS AND INFO! 👇

EVERY COMMAND FROM THE VIDEO:

Step 1) Download Virtualbox https://www.virtualbox.org/wiki/Downl...

Step 2) Download an Ubuntu 18.04 image https://ubuntu.com/download/desktop

Step 3) Make sure your phone is in Developer mode by going to Settings -- About Phone -- Software -- tap on 'Build Number' 7 times quickly. Now go to Settings -- Developer Options and enable Stay Awake and USB Debugging.

Step 4) Connect your phone to your computer and make sure to Always Allow USB Debugging when your phone connects.

Step 5) Set up a new virtual machine in Virtualbox using the image from step 2. I allocated 2048 MB of memory and 20 GB of disk space.

Step 6) Install Ubuntu on the virtual machine

Step 7) Open the Terminal in your virtual machine and run the following commands:

Sudo apt install git

git clone https://github.com/kivy/buildozer.git

cd buildozer

sudo apt-get install python3.6

sudo apt-get install -y python3-setuptools

sudo python3 setup.py install

cd ..

git clone https://github.com/Dirk-Sandberg/Kivy...

cd KivyHelloWorld

buildozer init

sudo apt update

sudo apt install -y git zip unzip openjdk-8-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev

pip3 install --user --upgrade cython virtualenv

Sudo apt-get install cython

buildozer android debug deploy run

If you run into any errors, watch the video ;)

--------------------------------------------------------------------------------------------------------

Consider donating to me if you are able to and appreciate my content: https://www.paypal.me/eriksandbergsof...
Any and all donations are super appreciated! ❤️

The creators of Kivy have been developing the framework for near a decade without funding. They recently set up a fundraising campaign in an attempt to fund one (to start) core developer of the framework. If you are so inclined, join me in contributing a small donation to help fund this wonderful project. I'm sure they really appreciate the support! Use the link below to check out their donation page. ❤️
https://opencollective.com/kivy/donat...

Thanks for watching!

Erik

Follow me on Github!
https://github.com/Dirk-Sandberg

This video uses the following music:

Gymnopedie No 1 by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Source: http://incompetech.com/music/royalty-...
Artist: http://incompetech.com/