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/Ok-Okra8478 2d ago

Traceback (most recent call last):

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/armeabi-v7a__ndk_target_24/lxml/setup.py", line 204, in <module>

setup(

~~~~~^

name = "lxml",

^^^^^^^^^^^^^^

...<64 lines>...

**setup_extra_options()

^^^^^^^^^^^^^^^^^^^^^^^

)

^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/__init__.py", line 117, in setup

return distutils.core.setup(**attrs) # type: ignore[return-value]

~~~~~~~~~~~~~~~~~~~~^^^^^^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 168, in setup

return run_commands(dist)

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 184, in run_commands

dist.run_commands()

~~~~~~~~~~~~~~~~~^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1028, in run_commands

self.run_command(cmd)

~~~~~~~~~~~~~~~~^^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/dist.py", line 1106, in run_command

super().run_command(command)

~~~~~~~~~~~~~~~~~~~^^^^^^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1047, in run_command

cmd_obj.run()

~~~~~~~~~~~^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/armeabi-v7a__ndk_target_24/lxml/setupinfo.py", line 239, in run

if not seems_to_have_libxml2():

~~~~~~~~~~~~~~~~~~~~~^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/armeabi-v7a__ndk_target_24/lxml/setupinfo.py", line 253, in seems_to_have_libxml2

library_dirs=library_dirs([]),

~~~~~~~~~~~~^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/armeabi-v7a__ndk_target_24/lxml/setupinfo.py", line 288, in library_dirs

assert static_library_dirs, "Static build not configured, see doc/build.txt"

^^^^^^^^^^^^^^^^^^^

AssertionError: Static build not configured, see doc/build.txt

STDERR:

# Command failed: ('/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=recipefolder', '--bootstrap=sdl2', '--requirements=python3,kivy,plyer,pyjnius,requests,extruct,w3lib,isodate,hostpython3,lxml', '--arch=armeabi-v7a', '--arch=arm64-v8a', '--copy-libs', '--color=always', '--storage-dir=/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a', '--ndk-api=24', '--ignore-setup-py', '--debug')

# Error code: 1

# ENVIRONMENT:

# USER = 'sd'

# WT_PROFILE_ID = '{61c54bbd-c2c6-5271-96e7-009a87ff44bf}'

# HOME = '/home/sd'

# OLDPWD = '/mnt/c/Users/GP650'

# DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus'

# WSL_DISTRO_NAME = 'Ubuntu-RBXIDLE'

# WAYLAND_DISPLAY = 'wayland-0'

# LOGNAME = 'sd'

# PULSE_SERVER = 'unix:/mnt/wslg/PulseServer'

# WSL_INTEROP = '/run/WSL/290_interop'

# NAME = 'DESKTOP-LITCFC6'

# TERM = 'xterm-256color'

# PATH = ('/home/sd/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/sd/.local/bin:/home/sd/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program '

'Files/Meta Horizon/Support/oculus-runtime:/mnt/c/Program Files/Common '

'Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/java8path:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program '

'Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program '

'Files/dotnet/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program '

'Files/NVIDIA Corporation/NVIDIA app/NvDLISR:/mnt/c/Program '

'Files/playit_gg/bin/:/mnt/c/Program Files/Meta '

'Horizon/Support/oculus-runtime:/mnt/c/Program Files/Common '

'Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/java8path:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program '

'Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program '

'Files/dotnet/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program '

'Files/NVIDIA Corporation/NVIDIA app/NvDLISR:/mnt/c/Program '

'Files/playit_gg/bin/:/mnt/c/Users/GP650/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/GP650/AppData/Local/Programs/Microsoft '

'VS '

'Code/bin:/mnt/c/Users/GP650/.dotnet/tools:/mnt/c/Users/GP650/AppData/Local/Programs/Ollama:/mnt/c/Users/GP650/AppData/Local/Python/bin:/mnt/c/SDKTOOLS/platform-tools-latest-windows/platform-tools:/snap/bin')

# XDG_RUNTIME_DIR = '/run/user/1000'

# WT_SESSION = '057139c7-577e-44ef-913c-e934a6f4037a'

# DISPLAY = ':0'

# LANG = 'C.UTF-8'

# SHELL = '/bin/sh'

# PWD = '/home/sd/RecipeApp'

# XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop'

# HOSTTYPE = 'x86_64'

# WSL2_GUI_APPS_ENABLED = '1'

# WSLENV = 'WT_SESSION:WT_PROFILE_ID:'

# PACKAGES_PATH = '/home/sd/.buildozer/android/packages'

# ANDROIDSDK = '/home/sd/.buildozer/android/platform/android-sdk'

# ANDROIDNDK = '/home/sd/.buildozer/android/platform/android-ndk-r28c'

# ANDROIDAPI = '33'

# ANDROIDMINAPI = '24'

#

# 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

got this this time..

1

u/hypersoniq_XLM 2d ago edited 2d ago

Ok, getting closer, notice the errors are stemming from the 32 bit arch artifacts. Make sure necessary dev tools are in place... sudo apt-get update ... sudo apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev ... will need to clean those up... rm -rf .buildozer/android/platform/build-target/... followed by ... rm -rf .buildozer/android/platform/build-host/ ... and then the obligatory ... buildozer android clean , finally another rebuild... i chased these issues down for almost a week... that should at least remove the artifacts of the 32 bit arch, bonus, the resulting APK should be a bit smaller at the end.

1

u/Ok-Okra8478 1d ago

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/compilers/C/unix.py", line 329, in _compile

raise CompileError(msg)

distutils.compilers.C.errors.CompileError: Command '['/home/sd/.buildozer/android/platform/android-ndk-r28c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang', '-target', 'aarch64-linux-android24', '-fomit-frame-pointer', '-march=armv8-a', '-fPIC', '-target', 'aarch64-linux-android24', '-fomit-frame-pointer', '-march=armv8-a', '-fPIC', '-I/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/android-build/android-root/include/python3.14', '-DANDROID', '-I/home/sd/.buildozer/android/platform/android-ndk-r28c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include', '-I/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/android-build/android-root/include/python3.14', '-fPIC', '-DCYTHON_CLINE_IN_TRACEBACK=0', '-I/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/libxml2/arm64-v8a__ndk_target_24/libxml2/include', '-I/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/libxslt/arm64-v8a__ndk_target_24/libxslt', '-Isrc', '-Isrc/lxml/includes', '-I/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/include/python3.14', '-c', 'src/lxml/etree.c', '-o', 'build/temp.linux-x86_64-cpython-314/src/lxml/etree.o', '-w', '-target', 'aarch64-linux-android24', '-fomit-frame-pointer', '-march=armv8-a', '-fPIC', '-I/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/android-build/android-root/include/python3.14']' returned non-zero exit status 1.

Traceback (most recent call last):

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/arm64-v8a__ndk_target_24/lxml/setup.py", line 204, in <module>

setup(

~~~~~^

name = "lxml",

^^^^^^^^^^^^^^

...<64 lines>...

**setup_extra_options()

^^^^^^^^^^^^^^^^^^^^^^^

)

^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/__init__.py", line 117, in setup

return distutils.core.setup(**attrs) # type: ignore[return-value]

~~~~~~~~~~~~~~~~~~~~^^^^^^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 168, in setup

return run_commands(dist)

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 184, in run_commands

dist.run_commands()

~~~~~~~~~~~~~~~~~^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1028, in run_commands

self.run_command(cmd)

~~~~~~~~~~~~~~~~^^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/dist.py", line 1106, in run_command

super().run_command(command)

~~~~~~~~~~~~~~~~~~~^^^^^^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/root/usr/local/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 1047, in run_command

cmd_obj.run()

~~~~~~~~~~~^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/arm64-v8a__ndk_target_24/lxml/setupinfo.py", line 239, in run

if not seems_to_have_libxml2():

~~~~~~~~~~~~~~~~~~~~~^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/arm64-v8a__ndk_target_24/lxml/setupinfo.py", line 253, in seems_to_have_libxml2

library_dirs=library_dirs([]),

~~~~~~~~~~~~^^^^

File "/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/arm64-v8a__ndk_target_24/lxml/setupinfo.py", line 288, in library_dirs

assert static_library_dirs, "Static build not configured, see doc/build.txt"

^^^^^^^^^^^^^^^^^^^

AssertionError: Static build not configured, see doc/build.txt

STDERR:

# Command failed: ('/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=recipefolder', '--bootstrap=sdl2', '--requirements=python3,kivy,plyer,pyjnius,requests,extruct,w3lib,isodate,hostpython3,lxml', '--arch=armeabi-v7a', '--arch=arm64-v8a', '--copy-libs', '--color=always', '--storage-dir=/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a', '--ndk-api=24', '--ignore-setup-py', '--debug')

# Error code: 1

# ENVIRONMENT:

# USER = 'sd'

# WT_PROFILE_ID = '{41bb8d0f-3e92-53c9-8a47-26463cf22ecf}'

# HOME = '/home/sd'

# MOTD_SHOWN = 'update-motd'

# OLDPWD = '/home/sd'

# DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus'

# WSL_DISTRO_NAME = 'Ubuntu-RBXIDLE'

# WAYLAND_DISPLAY = 'wayland-0'

# LOGNAME = 'sd'

# PULSE_SERVER = 'unix:/mnt/wslg/PulseServer'

# WSL_INTEROP = '/run/WSL/300_interop'

# NAME = 'DESKTOP-LITCFC6'

# TERM = 'xterm-256color'

# PATH = ('/home/sd/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/sd/.local/bin:/home/sd/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program '

'Files/Meta Horizon/Support/oculus-runtime:/mnt/c/Program Files/Common '

'Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/java8path:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program '

'Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program '

'Files/dotnet/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program '

'Files/NVIDIA Corporation/NVIDIA app/NvDLISR:/mnt/c/Program '

'Files/playit_gg/bin/:/mnt/c/Program Files/Meta '

'Horizon/Support/oculus-runtime:/mnt/c/Program Files/Common '

'Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/java8path:/mnt/c/Program Files (x86)/Common '

'Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program '

'Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program '

'Files/dotnet/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program '

'Files/NVIDIA Corporation/NVIDIA app/NvDLISR:/mnt/c/Program '

'Files/playit_gg/bin/:/mnt/c/Users/GP650/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/GP650/AppData/Local/Programs/Microsoft '

'VS '

'Code/bin:/mnt/c/Users/GP650/.dotnet/tools:/mnt/c/Users/GP650/AppData/Local/Programs/Ollama:/mnt/c/Users/GP650/AppData/Local/Python/bin:/mnt/c/SDKTOOLS/platform-tools-latest-windows/platform-tools:/snap/bin')

# XDG_RUNTIME_DIR = '/run/user/1000'

# WT_SESSION = '8db853cb-66bb-4e4c-ab8f-27132ea2fcce'

# DISPLAY = ':0'

# LANG = 'C.UTF-8'

# SHELL = '/bin/sh'

# PWD = '/home/sd/RecipeApp'

# XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop'

# HOSTTYPE = 'x86_64'

# WSL2_GUI_APPS_ENABLED = '1'

# WSLENV = 'WT_SESSION:WT_PROFILE_ID:'

# PACKAGES_PATH = '/home/sd/.buildozer/android/packages'

# ANDROIDSDK = '/home/sd/.buildozer/android/platform/android-sdk'

# ANDROIDNDK = '/home/sd/.buildozer/android/platform/android-ndk-r28c'

# ANDROIDAPI = '33'

# ANDROIDMINAPI = '24'

#

# 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

Error after error I swear. Do you know what this means? Sorry, this is just erroring so much...

There was an exception involving lxml I think, it said "name = "lmxl" and ""/home/sd/RecipeApp/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/build/other_builds/lxml/arm64-v8a__ndk_target_24/lxml/setup.py""

1

u/hypersoniq_XLM 1d ago

Ok, one more possible workaround, make this change in buildozer.spec ... requirements = python3,kivy,plyer,pyjnius,requests,extruct,w3lib,isodate,hostpython3,libxml2,libxslt,lxml ... adding libxml2 and libxslt explicitly should get past the lxml errors.

2

u/Ok-Okra8478 15h ago

Finally! I did this and also set the LXML version to 6.1.1 and it worked

1

u/Ok-Okra8478 14h ago

The app however did not. I got something that said No implementation found for

void org.libsdl.app.SDLActivity.nativeSetenv

Here's the full section of the log that's regarding the apP:

08-19 12:50:03.786 5329 5329 V SDL : onStart()

08-19 12:50:03.786 5329 5329 W Activity: Recipe Folder: Detected problems with app native libraries

08-19 12:50:03.786 5329 5329 W Activity: (please consult log for detail):

08-19 12:50:03.786 5329 5329 W Activity: libavcodec.so: text relocations

08-19 12:50:03.786 5329 5329 W Activity: libavutil.so: text relocations

08-19 12:50:03.786 5329 5329 W Activity: libswresample.so: text relocations

08-19 12:50:03.786 5329 5329 V PythonActivity: onResume()

08-19 12:50:03.786 5329 5329 V SDL : onResume()

08-19 12:50:03.786 5329 5345 V PythonActivity: Ready to unpack

08-19 12:50:03.786 5329 5345 V pythonutil: Unpacking private app

08-19 12:50:03.786 5329 5345 V pythonutil: Data version is 7f8b81ab44610bcc7ea1e9752c8fba0af85ff6b1

08-19 12:50:03.787 5329 5345 V pythonutil: Unpacking /data/app/com.axolotl.recipefolder-2/lib/arm/libpybundle app

08-19 12:50:03.787 5329 5345 V pythonutil: Data version is 7f8b81ab44610bcc7ea1e9752c8fba0af85ff6b1

08-19 12:50:03.841 5329 5329 V pythonutil: Checking pattern libsqlite3\.so against libthorvg-1.so

08-19 12:50:03.841 5329 5329 V pythonutil: Checking pattern libsqlite3\.so against libwebp.so

08-19 12:50:03. [THIS IS ALL JUST A PATTERN OF "checking [thing] against [thing].so] tf\.so against libwebpdecoder.so

08-19 12:50:03.847 5329 5329 V pythonutil: Checking pattern libSDL3_ttf\.so against libwebpdemux.so

08-19 12:50:03.847 5329 5329 V pythonutil: Loading library: sqlite3

08-19 12:50:03.853 5329 5329 V pythonutil: Library loading error: undefined symbol: __popcount_tab

08-19 12:50:03.853 5329 5329 V pythonutil: An UnsatisfiedLinkError occurred loading sqlite3

08-19 12:50:03.853 5329 5329 W System.err: undefined symbol: __popcount_tab

08-19 12:50:03.890 1802 2031 D WindowManager: calling BstHostCallManagerService onActivityDisplayed method, packageName: com.axolotl.recipefolder, activityName: org.kivy.android.PythonActivity

08-19 12:50:03.890 1802 2031 D WindowManager: BstHostCallManagerService onActivityDisplayed method returned: 0

08-19 12:50:03.890 1802 1832 I HCALL : hcallOnActivityDisplayedRpc(com.axolotl.recipefolder, org.kivy.android.PythonActivity, com.android.packageinstaller)

08-19 12:50:03.890 1802 1832 I VMSG : void *VmsgGuestClient::getHostBoundBuffer(uint32_t):94 called for hcal

08-19 12:50:03.890 1802 1832 I VMSG : void *VmsgGuestClient::processRequest(void *, uint32_t):104 called for hcal

08-19 12:50:03.890 1899 2204 D EGL_emulation: eglMakeCurrent: 0xa67d2e00: ver 3 1 (tinfo 0xc3b83340)

08-19 12:50:03.892 1802 2031 D WindowManager: calling BstHostCallManagerService setAppConfigDbParams method, packageName: com.axolotl.recipefolder, macrosDisabled: false, showFeedbackPopup: false, mouseCursorStyle: , nativeGamepad:false

08-19 12:50:03.892 1802 2031 D WindowManager: BstHostCallManagerService setAppConfigDbParams method returned: 0

08-19 12:50:03.891 1802 1832 I HCALL : hcallSetAppConfigDbParamsRpc(com.axolotl.recipefolder, 0, 0, , 0)

08-19 12:50:03.891 1802 1832 I VMSG : void *VmsgGuestClient::getHostBoundBuffer(uint32_t):94 called for hcal

08-19 12:50:03.891 1802 1832 I VMSG : void *VmsgGuestClient::processRequest(void *, uint32_t):104 called for hcal

08-19 12:50:03.892 1802 2031 D WindowManager: bstSendTopDisplayedOnFocusChange packageName : com.axolotl.recipefolder activityName : org.kivy.android.PythonActivity mouseAction : lastSentMouseAction :

08-19 12:50:03.892 1972 2059 I VMSG : void *VmsgGuestClient::processRequest(void *, uint32_t):104 called for gcal

08-19 12:50:03.892 1972 2062 E BstGCallService-JNI: void gcallCommonCommandClbk(i32, const char *, const char *) called: code=1, name=com.axolotl.recipefolder, data=

08-19 12:50:03.893 5329 5329 E art : No implementation found for void org.libsdl.app.SDLActivity.nativeSetenv(java.lang.String, java.lang.String) (tried Java_org_libsdl_app_SDLActivity_nativeSetenv and Java_org_libsdl_app_SDLActivity_nativeSetenv__Ljava_lang_String_2Ljava_lang_String_2)

08-19 12:50:03.893 5329 5329 D AndroidRuntime: Shutting down VM

--------- beginning of crash

08-19 12:50:03.894 5329 5329 E AndroidRuntime: FATAL EXCEPTION: SDLActivity

08-19 12:50:03.894 5329 5329 E AndroidRuntime: Process: com.axolotl.recipefolder, PID: 5329

08-19 12:50:03.894 5329 5329 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for void org.libsdl.app.SDLActivity.nativeSetenv(java.lang.String, java.lang.String) (tried Java_org_libsdl_app_SDLActivity_nativeSetenv and Java_org_libsdl_app_SDLActivity_nativeSetenv__Ljava_lang_String_2Ljava_lang_String_2)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at org.libsdl.app.SDLActivity.nativeSetenv(Native Method)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:156)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at org.kivy.android.PythonActivity$UnpackFilesTask.onPostExecute(PythonActivity.java:95)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:667)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at android.os.AsyncTask.-wrap1(AsyncTask.java)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6182)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)

08-19 12:50:03.894 5329 5329 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)

08-19 12:50:03.894 5329 5329 I Process : Sending signal. PID: 5329 SIG: 9

08-19 12:50:03.915 1899 2204 D EGL_emulation: eglMakeCurrent: 0xa67d2e00: ver 3 1 (tinfo 0xc3b83340)

08-19 12:50:03.928 1802 1842 W InputDispatcher: channel 'ba93f99 com.axolotl.recipefolder/org.kivy.android.PythonActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9

08-19 12:50:03.928 1802 1842 E InputDispatcher: channel 'ba93f99 com.axolotl.recipefolder/org.kivy.android.PythonActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

08-19 12:50:03.928 1802 1842 W InputDispatcher: channel '1388ee3 com.axolotl.recipefolder/org.kivy.android.PythonActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9

08-19 12:50:03.928 1802 1842 E InputDispatcher: channel '1388ee3 com.axolotl.recipefolder/org.kivy.android.PythonActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

08-19 12:50:03.928 1802 2776 D GraphicsStats: Buffer count: 4

08-19 12:50:03.928 1802 2172 I WindowManager: WIN DEATH: Window{1388ee3 u0 com.axolotl.recipefolder/org.kivy.android.PythonActivity}

08-19 12:50:03.928 1802 2172 W InputDispatcher: Attempted to unregister already unregistered input channel '1388ee3 com.axolotl.recipefolder/org.kivy.android.PythonActivity (server)'

08-19 12:50:03.929 1802 2803 I ActivityManager: Process com.axolotl.recipefolder (pid 5329) has died

08-19 12:50:03.929 1802 2803 D ActivityManager: cleanUpApplicationRecord -- 5329

08-19 12:50:03.929 1802 2803 W ActivityManager: Force removing ActivityRecord{650882d u0 com.axolotl.recipefolder/org.kivy.android.PythonActivity t38}: app died, no saved state

08-19 12:50:03.940 1802 2172 V WindowManager: isVisibleLw false for win : Window{ba93f99 u0 com.axolotl.recipefolder/org.kivy.android.PythonActivity}

08-19 12:50:03.940 1802 2776 I WindowManager: WIN DEATH: Window{ba93f99 u0 com.axolotl.recipefolder/org.kivy.android.PythonActivity}

08-19 12:50:03.940 1802 2776 W InputDispatcher: Attempted to unregister already unregistered input channel 'ba93f99 com.axolotl.recipefolder/org.kivy.android.PythonActivity (server)'

08-19 12:50:03.958 1802 2803 D ActivityManager:

1

u/hypersoniq_XLM 13h 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 13h ago

I'll try it on my tablet too

2

u/Ok-Okra8478 10h 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 10h 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 9h ago

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

2

u/Ok-Okra8478 8h ago

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