I just cannot understand why it doesn't, I'm trying to create this simple program but it gives me this error. my code is:
main.py
from kivy.app import App
from kivymd.theming import ThemeManager
class Mainapp(App):
theme_cls = ThemeManager()
Mainapp().run()
helper.kv
NavigationLayout:
MDNavigationDrawer:
ScreenManager:
You need to change:
class Mainapp(App):
to:
class Mainapp(MDApp):
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.