How to Convert Python Code into an Android .apk (that doesn't crash!) | Kivymd, Buildozer Tutorial

preview_player
Показать описание
LINKS

ABOUT THIS VIDEO
In this video we will learn how to convert .py to .apk with the help of Buildozer and Google Collab. Buildozer is a tool for packaging mobiles application easily. It automates the entire build process and downloads the prerequisites like python-for-android, Android SDK, NDK, etc. And Google Colaboratory, or “Colab” for short, allows you to write and execute any python code through the browser. It requires no setup to use and provides free access to computing resources including GPUs from Google.

TIMESTAMPS
0:00 What we will learn
0:30 What we will need
0:51 Prewritten Commands in a Collab Notebook
1:51 Import .py file and assets inside collab notebook
2:12 Generating and editing your apps properties (name, icon etc)
3:00 Making sure your app dosen't crash
3:43 Starting conversion of py into apk
4:20 Where is your apk file?
4:44 Testing the app

🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟

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

You are a life saver i left coding because i got demotivated alot i made a app with so much time spent on it but it didn't convert thank you so much after 2 years i can really run my app on my phone thank you so much

abduksam
Автор

Bro there is a problem it says buildozer failed to execute the last command

jayanathchowdhury
Автор

Awesome video. Straight to the point and really clear. Thanks!

carloscampos
Автор

hey bro.. I followed your steps everything went good but when I open the app in my phone it crashes in loading screen.. hope you respond soon

unseengraphic
Автор

Bro i have cretaed game pygame so it convert that file also in apk pls reply

MrDarkYT
Автор

Bro, I got this error even if the app runs fine in IDE. Hope you can respond soon. Thank you!

# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

JuQuerOS-ju
Автор

I clearly understood amazing with zooming feature thank u
You earn a like😘😘😘

assasinatorx
Автор

Thaks for the video man. But i have an ask, do i have to put the file.kv with the main.py on directory in the google colab?

renanrosembackalmeida
Автор

Which software is used to making apk(by python) in pc??

DjZone_Sntd
Автор

@devstoriespod Should my .py write only with Kivy, or it is also avaliable for tools like Flet

ohmygod
Автор

you are amazing bro. Thanks for the video, it worked really well for me.

NativeFX
Автор

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libffi6

above error show after executing 5 Predefine code

instruments
Автор

Where can I add the font of my app should I add it in the data folder ?

helloeveryone
Автор

Thank you for the nice video...
If we are using virtual environment venv, then do we need to change the content of buldozer spec file?

sbsyr
Автор

hi there! I'm compiling my app but it keeps crashing.. in the requirements do I have to include numpy and other packages that comes with my app to be able to fix the crashing of my app??

shekainaloveaniban
Автор

Bro my kivy apk crashes suddenly after the launch.

So will you please show me the changes in the spec file ??, i will provide you the spec file.

helloeveryone
Автор

got this error
Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

masterhipster
Автор

I'm getting an issue with

sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev libgdbm-compat-dev liblzma-dev libreadline-dev libncursesw5-dev libffi-dev uuid-dev libffi6

I get

E: Unable to locate package libffi6

ghevek
Автор

Big brain bro, I used up my storage space by using ubuntu lol. Good I came across your vid, Thanks

SrikrishnanC
Автор

Is it possible to create object detection using python? And will it convert as android application?

Anyway, thank u so much for this tutorial. I'll save this for our project.

tsuki__shima