I built a chat app that uses mainly slixmpp, plyer, kivy, and kivymd. I works fine on my computer. Using bulldozer It builds successfully then crashes immediately on my android phone.
I couldnt find on the internet the same error so I decided to post it here. I'm new to posting so I hope I'm doing it right.
: [INFO ] [KivyMD ] v0.104.1
05-05 12:20:01.809 28050 28283 I python : Traceback (most recent call last):
05-05 12:20:01.809 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/app/main.py", line 35, in
05-05 12:20:01.811 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/app.py", line 47, in
05-05 12:20:01.812 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/theming.py", line 43, in
05-05 12:20:01.813 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/material_resources.py", line 19, in
05-05 12:20:01.814 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/metrics.py", line 136, in dp
05-05 12:20:01.816 28050 28283 I python : File "kivy/properties.pyx", line 291, in kivy.properties.dpi2px
05-05 12:20:01.817 28050 28283 I python : File "kivy/properties.pyx", line 296, in kivy.properties.dpi2px
05-05 12:20:01.818 2620 27688 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(0)
05-05 12:20:01.818 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/utils.py", line 505, in get
05-05 12:20:01.819 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/metrics.py", line 163, in dpi
05-05 12:20:01.820 28050 28283 I python : AttributeError: module 'jnius' has no attribute 'autoclass'
05-05 12:20:01.820 28050 28283 I python : Python for android ended.
05-05 12:20:02.072 4065 4065 D io_stats: !
### Versions
### Description
I built a chat app that uses mainly slixmpp, plyer, kivy, and kivymd. I works fine on my computer. Using bulldozer It builds successfully then crashes immediately on my android phone.
I couldnt find on the internet the same error so I decided to post it here. I'm new to posting so I hope I'm doing it right.
### buildozer.spec
Spec file:
: [INFO ] [KivyMD ] v0.104.1 05-05 12:20:01.809 28050 28283 I python : Traceback (most recent call last): 05-05 12:20:01.809 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/app/main.py", line 35, in
05-05 12:20:01.811 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/app.py", line 47, in
05-05 12:20:01.812 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/theming.py", line 43, in
05-05 12:20:01.813 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/material_resources.py", line 19, in
05-05 12:20:01.814 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/metrics.py", line 136, in dp
05-05 12:20:01.816 28050 28283 I python : File "kivy/properties.pyx", line 291, in kivy.properties.dpi2px
05-05 12:20:01.817 28050 28283 I python : File "kivy/properties.pyx", line 296, in kivy.properties.dpi2px
05-05 12:20:01.818 2620 27688 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(0)
05-05 12:20:01.818 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/utils.py", line 505, in get
05-05 12:20:01.819 28050 28283 I python : File "/home/ludo/Bureau/Chatapp_Android_Pkg/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/metrics.py", line 163, in dpi
05-05 12:20:01.820 28050 28283 I python : AttributeError: module 'jnius' has no attribute 'autoclass'
05-05 12:20:01.820 28050 28283 I python : Python for android ended.
05-05 12:20:02.072 4065 4065 D io_stats: !