打包kivymd应用程序时出错



我正在谷歌colab中打包kivyMD应用程序。该应用程序是kivyMD官方github页面上厨房水槽应用程序的源代码。

编辑:错误发生在:!buildozer -v android debug之后

# Package the application
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python3.7/dist-packages/buildozer/__init__.py", line 1047, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python3.7/dist-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/usr/local/lib/python3.7/dist-packages/buildozer/target.py", line 104, in cmd_debug
self.buildozer.build()
File "/usr/local/lib/python3.7/dist-packages/buildozer/__init__.py", line 205, in build
self.target.build_package()
File "/usr/local/lib/python3.7/dist-packages/buildozer/targets/android.py", line 990, in build_package
version = self.buildozer.get_version()
File "/usr/local/lib/python3.7/dist-packages/buildozer/__init__.py", line 701, in get_version
with open(fn) as fd:
FileNotFoundError: [Errno 2] No such file or directory: './../../kivymd/__init__.py'

完整输出+错误文件

信息:文件结构与源代码相同

我应该怎么做才能处理这个错误。提前感谢

尝试以下命令:

buildozer android debug deploy run logcat

对于这个命令,你必须使用usb调试你的手机。

相关内容

  • 没有找到相关文章

最新更新