如何添加 buildozer 中使用的 kivymd 和其他模块?

How can add kivymd and others modules used in buildozer?

我正在使用 KivyMD create myapp,当使用 buildozer 将其转换为 apk 时,buildozer 似乎只理解 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
....

`

您需要在 buildozer.spec 文件中将 kivymd 添加到您的要求中