O'Reilly logo

Kivy Cookbook by Hugo Solis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging for Android

Android is also a popular platform for developers. With Kivy, we can use Android as the first step for our app into the mobile world because we can test it on Android. When we know that it is working and popular, we can release our app in the iOS sector without additional programming and deliver the app to as many users as possible. In this recipe, we shall create a package for Android with a simple app.

Getting ready

We need to install Buildozer to create the package. From the shell in the selected location, let's run:

$ git clone https://github.com/kivy/buildozer.git

Now go to the buildozer folder:

$ cd buildozer

Finally, we set up Buildozer with:

$ sudo python setup.py install

We also need to install python-for-android

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required