When creating a simple application that has only one MDFloatingActionButton on the screen it works perfectly on linux/windows but when compiling for android the application closes instantly and returns a strange error. I did a test with MDCard and it returned the same error but I decided to assign 0 to the widget's elevation attribute and it worked perfectly but without the elevation.
from kivymd.uix.button import MDFloatingActionButton
class MyApp(MDApp):
def build(self):
return MDFloatingActionButton(
pos_hint={"center_y":.5, "center_x":.5})
MyApp().run()
Return on android
12-27 15:10:59.874 15425 15425 F DEBUG : #06 pc 00006f0b /data/data/org.myapp.test/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
This problem is linked to the elevation of the widget, which is the ideal attribute to make the app more attractive.
Can someone give me a light to solve this problem? I am using windows wsl to build the application.