我正在使用安卓工作室。我想在 HTML5 上运行和部署我的应用程序。我在终端上输入命令“ gradlew.bat html:superDev ”,但它给了我错误消息:
任务 ':core:compileJava' 执行失败。找不到 tools.jar
我怎么解决这个问题?
这是完整的错误消息:
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
Configuration on demand is an incubating feature.
:core:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':core:compileJava'.
> Could not find tools.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED