Kivy Tutorial #12 - Converting Kivy to Android APK | Buildozer

buildwithpython · 91K views · 2020 · 20:10

Open on YouTube

Python, Ruby & scripting languagesSoftware (other)tutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when people on Windows or new to Linux ask how to package a Kivy app as an APK, since it shows a cloud-server route around Buildozer's Linux-only limitation.

Recommended by 3 people across 3 different months, 2020 to 2021.

What it is

A 20-minute walkthrough that turns a Kivy desktop app into an Android APK using Buildozer. It shows renting a DigitalOcean Ubuntu droplet, installing Python and Buildozer, running buildozer init and the debug build, then copying the APK to a phone. It is part 12 of a Kivy tutorial series from the buildwithpython channel.

What people said

Recommends rain291 · 2020-09 · Stack Overflow · on “Cannot build apk with buildozer”

I've been trying to build an APK for 3 days. I'm very new to Linux in general, and I have followed this tutorial: [this video] I do everything as he shows it, with the only difference is that I couldn't install kivy the way he did, I installed it in another way but it works and I can run my main.py from the terminal. Anyway, buildozer init works, but when I try to use buildozer android debug, this error pops up: Traceback (most recent call last): File "/home/rain/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 567, in _build_master ws.require(__requires__) File "/home/rain/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 884, in require needed = self.resolve

Recommends hemanth · 2020-12 · Stack Overflow · on “How to convert .py file to .apk file on windows without using virtual machine”

No you can't, buildozer works only on Linux system. But if you don't have linux you can use the free tier of online cloud platforms to execute and build your apk. The below video will give you the clear view of how. [this video] But it will ask you for credit card. If you have it and okay with it you can do it online. Hope this helps! Happy Learning:)

Recommends Ankit Sangwan · 2021-01 · Stack Overflow · on “As a beginner using Kivy 2.0 what steps do i take to compile my project(app) into play store”

First of all, you have to use buildozer to create your .apk file. Apparently buildozer doesn't work on windows so you have to use a virtual machine to do so. After running a virtual machine (ubuntu) you have to install buildozer and all other requirements. You can check the details on this page [LINK] . It's a long process and you will get a lot of errors while doing so. You can check some youtube tutorials like this [this video] (you won't need any server just use your virtual machine) or this [LINK] . You have to carefully provide requirements in buildozer.spec file. Your app will crash a lot of times. After a lot of efforts, you will finally be able to pack your first apk. Then you can do the