I finally manage to build my first apk with buildozer

106 views
Skip to first unread message

Kal Dev

unread,
Aug 4, 2025, 5:26:50 PMAug 4
to Kivy users support
its not easy if your not willing to sweat you will give up upon the first error

i had all kinds of error

unknown command target
pyjiinius long code
packaging not found
androidndk
...


I even try to do it manually with python-for-android but too tired buildozer make it simple but you have to have everything setup correctly, so after doing this again and again I just create some .sh file to automate the process each time I had a bug so if you want to make it simple just go there in my git and download and run them

https://github.com/djefferson-saintilus/packageAPPpython

this link also help they teach you how to do evrything correctly: https://github.com/Android-for-Python/Android-for-Python-Users?tab=readme-ov-file#buildozer-and-p4a

after do everything as said in the buildozer documentation: https://buildozer.readthedocs.io/en/latest/installation.html
for example if they say install cython 0.29 install it, but most of the package got updated but no worry i cover everything with my files but if in case you want to do it by yourself do now docs works, dont use latest python at least 3.10 and open jdk11 or 17 not bad.

now IM only packaging my idea into app

KXJ YEG

unread,
Oct 20, 2025, 1:23:55 PMOct 20
to Kivy users support
Great to hear! I know getting the first Kivy app to work on Android with Buildozer is quite a challenge sometimes.
I've found a way to repeatedly keep APKs stable. So far, I have made about five different apps from simple to advanced, using this strategy:

Best of luck with your coding journey.

Olivier Moreau

unread,
Dec 6, 2025, 10:59:03 AMDec 6
to Kivy users support
I'm just about to give up building a first apk with buildozer !
I've been trying all kinds of things since two days and just get errors on errors (sdk, aidl, cython, clang, etc..)
Most of the time it is just replacing 'somestuff-v5' by 'somstuff-v6.1.2'
When I read this post, I believed that at least someone managed to find how to do it. Wonderfull but yet other error messages !!!

Hit:1 http://nova.clouds.archive.ubuntu.com/ubuntu plucky InRelease
Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
Ign:4 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu plucky InRelease
Err:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu plucky Release
  404  Not Found [IP: 2620:2d:4000:1::81 443]
Get:6 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-updates/main amd64 Components [58.8 kB]
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Components [46.0 kB]
Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Components [212 B]
Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Components [212 B]
Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-backports/main amd64 Components [212 B]
Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-backports/universe amd64 Components [3124 B]
Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-backports/restricted amd64 Components [216 B]
Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu plucky-backports/multiverse amd64 Components [216 B]
Get:15 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Components [16.5 kB]
Get:16 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Components [24.4 kB]
Get:17 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Components [212 B]
Get:18 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Components [212 B]
Error: The repository 'https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu plucky Release' does not have a Release file.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details. 

KXJ YEG

unread,
Dec 6, 2025, 1:15:46 PMDec 6
to kivy-...@googlegroups.com
The video suggests picking up only certain version combinations that work. Some of them are older than the most recent ones.

Same reason why it's helpful to set up the following:
- a supported Linux version that works (video intentionally uses an older Ubuntu version)
- a virtual env in which to install all the working library versions- a venv allows us to avoid conflicts with automatic library upgrades or OS defaults

Do let us know if the above approach works for you.

If you've already followed the exact steps in the video and see new issues, please share details so we can take  a look.

Thanks
 

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/kivy-users/fb553c0b-b008-46f0-87eb-f288ac132b29n%40googlegroups.com.

Olivier Moreau

unread,
Dec 6, 2025, 1:59:56 PMDec 6
to Kivy users support
Thanks for your fast  answer to my problem.
Do you have a transcript of your video with the exact commands ? 
For me, watching a youtube video with hard to see text, is painful.

I'm using a brand new OVHcloud instance with :
Linux version 6.14.0-34-generic (buildd@lcy02-amd64-017) (x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.2.0,
I just run :
    chmod +x b_script.sh 
    ./b_script.sh

and I got the error :  the deadsnakes are lost in the multiverse :) (well see above for details)

Really, why there isn't a reliable docker image with all the dependencies ?
or, alternatively, a proper cloud/web service to just upload main.py and form.kv and dowload the resulting apk ? 

I like the Kivy project and its modified Python with the kv language, but the buildozer is just a poor shovel !

Question for the Kivy team. There are more than 6000 users of the online forum and most of them find producing an APK a very difficult experience. Why ? 

KXJ YEG

unread,
Dec 6, 2025, 2:36:11 PMDec 6
to kivy-...@googlegroups.com
I relied on zooming into screenshots in the video for a lot of the cmds so unfortunately a transcript isn't complete without them.

I second all the sore points you raise, as a kivy python practitioner myself. With these videos I want to help address these gaps in a small way. 

I love the concept of a cloud service, however some might worry about privacy/security or have concerns uploading their code. But a personal docker filed away with the right images could work great.


Reply all
Reply to author
Forward
0 new messages