Deploying Your Kivy/Python App to Android with Buildozer

Аватар автора
Питоновый анализ данных в области генеалогии
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&run directly on Windows.? LINKS AND INFO! ? EVERY COMMAND FROM THE VIDEO: Step 3) Make sure your phone is in Developer mode by going to Settings -- About Phone -- Software -- tap on &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 cd buildozer sudo apt-get install python3.6 sudo apt-get install -y python3-setuptools sudo python3 setup.py install cd .. 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 ;) --------------------------------------------------------------------------------------------------------...

0/0


0/0

0/0

0/0