I tried to compile kivy with buildozer for android, but it did not work and I could not find the solution for this problem. So I tried to install the virtual machine from the kivy webside, which is supposed to include this, from this link:
http://kivy.org/#download
But I could not find a .vdi file,and so I wanted to know how I can find this .vdi file and how to install the vm.
Download the Kivy / Buildozer VM, in the Virtual Machine section. The download is 1.2GB. Extract the file and remember the location of the extracted directory. Download the version of VirtualBox for your machine from the VirtualBox download area and install it. Start VirtualBox, click on “File”, “Import Appliance”.
Select the extracted directory, file should be named “Buildozer VM.ovf” Start the Virtual machine and click on the “Buildozer” icon. Once the VM is loaded, you can follow the instructions from Packaging with python-for-android.
You can package Kivy Apps for Android on Windows by doing the following: Kivy Buildozer Virtual Machine Setup Download Kivy Buildozer VM and unzip the file. Download the version of VirtualBox for your machine from Oracle VirtualBox download area and install it.
The VM is now updated. Please check the Kivy website for the latest version. Currently, Kivy Android applications can only be built in a Linux environment configured with python-for-android, the Android SDK and the Android NDK.
EDIT: these instructions are outdated, please don't follow them
The main points:
Download the disc image from (https://drive.google.com/open?id=0B112pXITp0hJU3dJb25hbWJ3RHM&authuser=0 <- WARNING this image is highly out of date and won't work any more) The download is >2GB (6GB after extracted). Extract the file and remember the location of the extracted vdi file.
Download the version of VirtualBox for your machine from the VirtualBox download area and install it. (https://www.virtualbox.org/)
Start VirtualBox, click on “New” in the left top. Then select “linux” and “Ubuntu 64-bit”.
Under “Hard drive”, choose “Use an existing virtual hard drive file”. Search for your vdi file (where you unzipped Buildozer) and select it.
Go to the “Settings” for your virtual machine. In the “Display -> Video” section, increase video ram to 32mb or above. Enable 3d acceleration to improve the user experience.
Start the Virtual machine and follow the instructions in the readme file on the desktop.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With