android-studio - java.io.IOException:没有更多文件 Android Gradle
问题描述
我正在尝试使用 TeamCity for CI/CD 使用 gradlew 运行干净的构建。我有 BuildAgent 来运行它,我相信它拥有所有必要的 sdk,并安装了所有东西。构建代理在容器中运行。此外,TeamCity 服务器位于 Windows 10 VM 上。
我尝试运行一个干净的构建并运行一些任务,但随后说:
java.io.IOException: There are no more files
我再次运行它时也遇到了这个错误:
任务 :annotations:compileKotlin FAILED :annotations:compileKotlin
Execution failed for task ':annotations:compileKotlin'. org.gradle.api.UncheckedIOException: java.io.IOException: There are no more files
我是否缺少 BuildAgent 中的文件?我不确定问题是什么,因为它在我的本地机器上运行没有问题。
解决方案
推荐阅读
- json - 如何将 node 模块的脚本从 package.json 文件添加到根 package.json 文件
- arduino - AT+CGATT?与 Arduino 连接时从 SIM800C 模块返回“ERROR”
- particles.js - ParticlesJS:“未捕获的 ReferenceError:未定义particlesJS”
- laravel - Laravel 供应商变更
- java - 在服务类中添加@valid时如何处理自定义注释
- python - 如何禁用 python Enum 中的某些项目,但不删除它们
- php - 是否可以仅使用授权承载令牌和存储桶名称将文件上传到谷歌云存储?(PHP代码)
- javascript - 使用 WKWebView 在 swiftui 中执行 javascript 确认
- php - 我可以在使用 Bootstrap 4 的自定义插件中覆盖基于 Elementor 的 OceanWP 主题的 CSS 吗?
- java - 为什么这个 for 循环会给出这个输出?