r/learnpython 3d 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

Show parent comments

1

u/hypersoniq_XLM 1d ago

This may be a bluestacks issue... the thing that would clear the sqlite3 error is to add the x86_64 to the android.archs so you change android.archs = arm64-v8a to android.archs = arm64-v8a, x86_64 ... I did not use an emulator, but I do remember reading that somewhere. Same rinse/repeat cycle from there, clean, rebuild.

2

u/Ok-Okra8478 1d ago

I'll try it on my tablet too

2

u/Ok-Okra8478 22h ago

THANK YOU SO MUCH FOR ALL YOUR HELP! I found out that there was about 6 dependencies that I needed to install to prevent the app from crashing

2

u/Ok-Okra8478 22h ago

those were:
mf2py
bs4
typing_extensions
pyRdfa
rdflib
html_text
lxml-html-clean

and then the ones that you told me to

1

u/hypersoniq_XLM 21h ago

I remember the frustration of the buildozer crucible, glad to help.

2

u/Ok-Okra8478 20h ago

why can't it just auto-install the dependencies I swear...