How to set up kivy.

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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