Search code examples
pythonkivybuildozer

How can add kivymd and others modules used in buildozer?


I am using KivyMD create myapp when convert it to apk using buildozer , it seem that buildozer understand just kivy.

[app]

# (str) Title of your application
title = Ros 3

# (str) Package name
package.name = myapp

# (str) Package domain (needed for android/ios packaging)
package.domain = org.test

# (str) Source code where the main.py live
source.dir = .

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas

# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png

# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg
....

`


Solution

  • You need to add kivymd to your requirements in your buildozer.spec file