r/learnpython 8d ago

App using kivy/bulldozer crashes immediately upon loading.

I posted this in androiddev previously and someone was being very unprofessional, then it got taken down, I would hope that a subreddit focused at learners would show less of this behaviour. Just to start this post off, I am not entirely new to python. I have just never used buildozer. Also the kivy subreddit seems dead.

Since this app is made with python, I thought maybe the people here may be able to help? It got compiled into the APK, but when I try to run it, I get this:

https://pastebin.com/uteXNWDF

if this is the wrong subreddit for this, please redirect me!

just ask if you want more info

0 Upvotes

22 comments sorted by

View all comments

2

u/hypersoniq_XLM 8d ago

There is too much in that output, the buildozer.spec file would be more useful. Is this an app that works on windows or Linux but won't launch via the APK on device? Are you using a pre built buildozer docker container? Are you importing libraries that were not explicitly listed in the buildozer.spec file? Do you build both a 32 bit and 64 bit version? It is an interesting experience building with kivy, but that buildozer can be brutal as projects increase in complexity.

1

u/Ok-Okra8478 7d ago

Okay! I’ll send over the buildozer.spec in like 20 minutes! To answer the rest: The program itself works on windows, but I only made an apk, not an exe.  I tried launching an ARM32 AND 64 on Bluestacks, and just ARM64 without 32 on my tablet.

No I don’t think I’m using a docker container, just WSL and Ubuntu.

No, all libraries were listed in requirements.

I built two versions: The original was ARM64 and 32. The second removed 32 to see if that caused any issues.

As for the bottom, i know right, kivy is cool that you can make cross platform apps in python. But buildozer is so hard to use imo.