gradle - '。' 运行 ./gradlew 时不被识别为内部或外部命令
问题描述
每当我运行 ./gradlew buildForProd 时,它都会给我这个错误。我正在使用窗户。
'.' is not recognized as an internal or external command,
operable program or batch file.
编辑:
感谢 Mofi 提供的资源。
运行 .\gradlew 后,这就是我得到的。
Starting a Gradle Daemon, 19 busy Daemons could not be reused, use --status for details
:buildForProd FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildForProd'.
> A problem occurred starting process 'command './gradlew''
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 12s
1 actionable task: 1 executed
解决方案
推荐阅读
- r - 什么是 RENV_PATHS_CACHE_HOST?-- 码头工人文档
- javascript - 在测试 TypeScript 代码时,我们可以信任声明的参数类型还是应该像测试 JavaScript 代码一样进行测试?
- flutter - 提供者不更新文本小部件
- c# - 使用 Unicode 主机名的 DNS 解析失败
- c# - 具有 IEEE754 单精度分辨率的 C# NumericUpDown
- python - NumPy - 按频率对大型数组进行快速稳定的 arg 排序
- asp.net - 如何使用asp.net c#获取用户本地机器硬件配置
- javascript - VueJS:显示从计算属性返回的 PromiseResult 的内容
- sqlite - sqlite3 用另一列的值覆盖一列
- arrays - 用于屏蔽 JSON 数组中的数据的正则表达式