Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

kivy buildozer VM

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.

like image 622
Gilgamesch Avatar asked Mar 21 '15 21:03

Gilgamesch


People also ask

How to install Kivy/buildozer on VirtualBox?

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”.

How to install buildozer on a virtual machine?

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.

How do I package Kivy apps for Android on Windows?

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.

What happened to the Kivy VM?

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.


1 Answers

EDIT: these instructions are outdated, please don't follow them

The main points:

  1. 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.

  2. Download the version of VirtualBox for your machine from the VirtualBox download area and install it. (https://www.virtualbox.org/)

  3. Start VirtualBox, click on “New” in the left top. Then select “linux” and “Ubuntu 64-bit”.

  4. Under “Hard drive”, choose “Use an existing virtual hard drive file”. Search for your vdi file (where you unzipped Buildozer) and select it.

  5. 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.

  6. Start the Virtual machine and follow the instructions in the readme file on the desktop.

like image 124
Ciaran Avatar answered Nov 02 '22 07:11

Ciaran