GUI Using Python With Kivy, Deploy It to APK, From Any Operating System Without Virtualbox šŸ‘

Make an android app with kivy or kivymd, which also support Windows, Mac, Linux, and Raspberry pi also.

Ujjwal Kar
Geek Culture
2 min readApr 19, 2021

--

Kivy(Python Framework) to Android App
Kivy(Python Framework) to Android App

Step 1.

Ubuntu 18.04 user can skip this step.

Other operating system install Ubuntu 18.04 in docker, as shown bellow. Remember if you install Ubuntu in this process you donā€™t have to waste very much ram like virtual box.

Step 2 : Install Kivy

In ubuntu Kivy is built from the packages python-kivy, python-kivy-examples.
So install these packages by run ..

Buildozer

Buildozer is a tool that aim to package mobiles application easily. It automates the entire build process, download the prerequisites like python-for-android, Android SDK, NDK, etc.

How to install ?

First of all download buildozer.

Install Python

Install Setup tools

Go to buildozer directory

Install setup.py by this command

Install some packages

Install Cython

sudo apt-get install cython

Convert Your App to APK

Move to the directory where your kivy project present

Initialize Buildozer

Write nano buildozer.spec

Do some changes

And also change this

to

run the last command

Similar Posts :

--

--

Ujjwal Kar
Geek Culture

Full Stack Developer (1.5+ yrs. experience) | ASP.NET MVC, React, REST APIs | Full Stack Dev | Passionate coder | Continuous learner