My kivy app versions are:
- Python==3.10.11
- kivy==2.3.0
- kivymd==2.0.1.dev0 (unneccessary?)
Its simple window app with one label so if i just stretch the app from the corners of its window:
.venvlibsite-packageskivycoretextmarkup.py”, line 316, in
_pre_render
elif uh != uhh and h > uh and len(lines) > 1: TypeError: ‘>’ not supported between instances of ‘int’ and ‘str’
So i inserted this code before if statement to fix it on Windows venv:
if uh != None:uh = int(uh.replace("dp",""))
Now, on .apk side, if i minimize app and re-maximize (I mean pressing home button and reopening app without closing) same error occurs:
.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/asme.babatar/arm64-v8a/kivy/core/text/markup.py”, line 316, in _pre_render
python : TypeError: ‘>’ not supported between instances of ‘int’ and ‘str’
If i edit markup.py, and recompile .apk, nothing changes.I think buildozer get it fresh somehow. Is there any way to edit kivy files which in .buildozer dynamicly so it gets mine?