opengeodata.de

Starting with Kivy

2017-05-29

How to set up kivy.

sudo add-apt-repository ppa:kivy-team/kivy 
sudo apt-get update && sudo apt-get install python3-kivy python-kivy-examples

Get started with the first app and relase it via buildozer (Android will be the target).

git clone https://github.com/kivy/buildozer.git
cd buildozer
sudo python2.7 setup.py install

cd PROJECT_DIR && buildozer init

# dependencies for android release on Ubuntu 16.04
sudo pip install --upgrade cython==0.21
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install build-essential ccache git libncurses5:i386 libstdc++6:i386 libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 python2.7 python2.7-dev openjdk-8-jdk unzip zlib1g-dev zlib1g:i386

# deploy
buildozer android debug deploy run