Deploying Your Kivy/Python App to Android with Buildozer
Comply with together with me as I deploy a easy Hiya World Python/Kivy utility to an Android cellphone. I used a Home windows machine working an Ubuntu 18.04 picture in VirtualBox since buildozer would not run straight on Home windows.👇 LINKS AND INFO! 👇
EVERY COMMAND FROM THE VIDEO:
Step 1) Obtain Virtualbox https://www.virtualbox.org/wiki/Downloads
Step 2) Obtain an Ubuntu 18.04 picture https://ubuntu.com/obtain/desktop
Step 3) Make certain your cellphone is in Developer mode by going to Settings — About Telephone — Software program — faucet on ‘Construct Quantity’ 7 instances rapidly. Now go to Settings — Developer Choices and allow Keep Awake and USB Debugging.
Step 4) Join your cellphone to your laptop and ensure to All the time Permit USB Debugging when your cellphone connects.
Step 5) Arrange a brand new digital machine in Virtualbox utilizing the picture from step 2. I allotted 2048 MB of reminiscence and 20 GB of disk area.
Step 6) Set up Ubuntu on the digital machine
Step 7) Open the Terminal in your digital machine and run the next instructions:
Sudo apt set up git
git clone https://github.com/kivy/buildozer.git
sudo apt-get set up python3.6
sudo apt-get set up -y python3-setuptools
sudo python3 setup.py set up
git clone https://github.com/Dirk-Sandberg/KivyHelloWorld.git
sudo apt replace
sudo apt set up -y git zip unzip openjdk-8-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev
pip3 set up –user –upgrade cython virtualenv
Sudo apt-get set up cython
buildozer android debug deploy run
In the event you run into any errors, watch the video 😉
Think about donating to me if you’ll be able to and recognize my content material: https://www.paypal.me/eriksandbergsoftware
Any and all donations are tremendous appreciated! ❤️
The creators of Kivy have been creating the framework for close to a decade with out funding. They lately arrange a fundraising marketing campaign in an try to fund one (to begin) core developer of the framework. If you’re so inclined, be a part of me in contributing a small donation to assist fund this glorious venture. I am positive they actually recognize the help! Use the hyperlink under to take a look at their donation web page. ❤️
Thanks for watching!
Comply with me on Github!
This video makes use of the next music:
Gymnopedie No 1 by Kevin MacLeod is licensed beneath a Inventive Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)