如何解决任务':packageDebug'的执行失败 Buildozer
我的问题有点像this主题,其中有风滚草过去。
我正在将Kivy应用程序推入Android进行测试,并在终端中收到此错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':packageDebug'.
> org.gradle.tooling.BuildException (no error message)
Exception in thread background thread for pid 244759:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py",line 932,in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py",line 870,in run
self._target(*self._args,**self._kwargs)
File "/home/mark/frontend/venv/lib/python3.8/site-packages/sh.py",line 1633,in wrap
fn(*rgs,**kwargs)
File "/home/mark/frontend/venv/lib/python3.8/site-packages/sh.py",line 2557,in background_thread
handle_exit_code(exit_code)
File "/home/mark/frontend/venv/lib/python3.8/site-packages/sh.py",line 2261,in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/mark/frontend/venv/lib/python3.8/site-packages/sh.py",line 861,in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/mark/frontend/.buildozer/android/platform/build-armeabi-v7a/dists/kivyandroid__armeabi-v7a/gradlew assembleDebug
我正在跑步:
操作系统:Ubuntu 20.04
Kivy:2.0.0rc4
Python:3.8.5
Buildozer:1.2.0
OpenJdk-8-jre
这是我的要求:
requirements = python3,kivy,pillow,pytesseract,opencv,opencv-contrib-python,imutils,numpy,plyer,chardet,idna,urllib3,android,requests
错误输出表明threading
模块可能引起了问题,但这几乎就是我从中收集的全部信息。
该如何解决?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。