java.lang.module_如何修复java.lang.module.FindExceptionmodule-java.se.ee-not-found错误
java.lang.module_如何修复“java.lang.module.FindException:module java.se.ee not found”错误
我正在尝试打包我的kivy应用程序(python3),但是当我运行命令buildozer -v android debug时,看到这个错误# Cwd /home/javier/.buildozer/android/platform/android-sdk
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
Command failed: /home/javier/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager tools platform-tools
Buildozer failed to execute the last command
The error might be hidden in the log above this error
Please read the full log, and search for it before
raising an issue with buildozer itself.
In case of a bug report, please add a full log with log_level = 2
我有这个Java版本$ java –version
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3)
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing)
我只下载了sdkmanager命令行工具from here,并将其放在根路径中,但没有成功。
我在this post中看到了一个解决方案,我做到了,但我没有解决错误。
我有一个安装了所有依赖项的virtualenv。我还编辑了buildozer.spec并自定义了它
虚拟现实是:(envAppSinapsis)~/AppSin$ pip freeze
certifi==2019.3.9
chardet==3.0.4
Cython==0.28.2
docutils==0.14
idna==2.8
Kivy==1.10.1
Kivy-Garden==0.1.4
psycopg2==2.7.6.1
psycopg2-binary==2.7.6.1
pygame==1.9.4.dev0
Pygments==2.3.1
requests==2.21.0
urllib3==1.24.1
我认为这个错误与JAVA相关,但我不知道是什么。谢谢你的帮助,请原谅我英语不好。
我在Ubuntu 18工作