Python Kivy tutorial #1 🔥: Install Kivy, Buildozer, compile *apk | Kivy app project

preview_player
Показать описание
This Python Kivy Tutorial is about installing Python Kivy framework and Buildozer on Ubuntu (Xubuntu) machine, how to compile kivy to apk file for Android or how to build your Kivy application.

So this is the second part of my Python Kivy Android app tutorial. And if you are interested how to convert your Python code to an Android app my tutorial is for you!

Installation Bash-script (the script is automating my actions I have shown in this video):

Buildozer is the Python library that can convert py to apk, that is it compiles Python Kivy project to real Adroid app as apk file.

Kivy is Python library for mobile and desktop development of applications. Python Kivy framework mostly used for creating Android apps with Python.

Follow me @:

============ SOURCE CODE ================
📎️ The SOURCE CODE is available via Patreon:
======================================

*** This Kivy Python Tutorial playlist ***

✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:

or its landing:

➥ Please ➥ Like ➥ Comment ➥ Subscribe

➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:

Python Kivy tutorial #1: Install Kivy, Buildozer, compile *apk | Kivy app project

#kivy #kivytutorial #redeyedcoderclub
Рекомендации по теме
Комментарии
Автор

Thank you very much. I have been looking for solution for over one and half week but finally i followed your full tutorial and worked perfectly. Thanks again

sisaymersha
Автор

The best video from scratch to apk (without losing time) Thanks!

martinv
Автор

Спасибо, Олег. Три дня мучился, пытался все сделать по другим гайдам, но постоянно вылазила какая-нибудь ошибка, которая после фикса вызывала другую... Сделал все как ты, проблем никаких не возникло. Слава тебе!

haruhipoulain
Автор

Thank you Red Eyed Coder Club. I have successfully build my first apk files with python. However, I need to install latest JDK version 11 to get buildozer to work. Thanks again and keep up the good job.

lclcbl
Автор

Thank you so much for the clear explanation and especially for providing the installation script for buildozer dependencies. It appears the website now gives only the list of dependencies for Ubuntu 20, and not the older versions of Ubuntu. I was able to download the dependencies for my Ubuntu 18.04 and successfully exported my Android app. Thanks again!

znb
Автор

Thank You Very Much
I tried many method to build apk but didn't work
I followed your tutorial, it's success . Thanks

starsmeteorIAN
Автор

Finally something that works.. tnx alot

ushermed
Автор

I would like to remind that the keyboard language settings is missing in the virtual machine vdi file and there is no way to install guest additions without which it is totally useless to use Ubuntu.I have installed the fresh version of Ubuntu 18.04 from their official site and followed what is said in the video and it worked, thanks a lot for this helpful video...

tahep
Автор

The additional Command ---> sudo apt-get install libltdl-dev libffi-dev libssl-dev autoconf autotools-dev

amateurastronomer
Автор

it's great job, appreciated. I have never find a virtual image as running until this time. I could created an apk file on virtual server in the end.

trgy
Автор

buildozer android debug

# Check configuration tokens

Unknown command/target android


how to solve the error

dheerajreddykondakindi
Автор

WARNING! Buildozer doesn't work under Windows.
Consider to use Linux or Mac

RedEyedCoderClub
Автор

How did you know to install those extra dependency packages?

Thanks for the great video!

XxxionxX
Автор

How will i going to fix the #buildozer failed to execute the last command etc..
Error.
?

dodgeguerrero
Автор

Why am getting this message in my terminal? "Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-so3ky9d3/kivy/", i ve done everything like you!

gordoibai
Автор

While running buildozer debug it shows an error of no module name virtualenv.__main__ ;
virtualenv is not a package
which comes from virtualenv binary contaning "from virtualenv.__main__ import run_with_catch"
I dont no how to solve this .please help.

iamsagarsingh
Автор

i have error :


Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2

toolshacking
Автор

Just install to use buildozer via cmd or PowerShell

ntaraujo
Автор

I was able to make the APK and run it on my Android successfully.
I have one question:
When I start making another project and follow the same procedure and enter "buildozer android debug" and hit enter then the whole process starts from the beginning (I mean downloading everything) and this take unnecessary memory on my pc.Is there a way to bypass this?
I mean skip the downloading of the packages that are already installed.

anoopsrana
Автор

I have even trying to compile to apk for a month why do i always get the error *failed at building python3 for armeabi-v7* ??? PLS HELP ME

herbertrafael