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

Get Kivy Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.