gpt4 book ai didi

android - Gradle 构建未执行,因为它找不到 cache.properties

转载 作者:搜寻专家 更新时间:2023-11-01 08:40:57 25 4
gpt4 key购买 nike

我在 android Studio 中的 gradle 构建失败,因为它无法访问 cache.properties 文件。我试过使所有缓存无效并重试,但那没有用。我还重新安装了所有的 SDK 工具。这是我得到的错误

Error:java.io.FileNotFoundException: C:\Users\Siddharth\AndroidStudioProjects\IntentAssignment.gradle\2.4\taskArtifacts\cache.properties (The system cannot find the file specified) C:\Users\Siddharth\AndroidStudioProjects\IntentAssignment.gradle\2.4\taskArtifacts\cache.properties (The system cannot find the file specified) Blockquote

关于做什么的任何建议,这里是完整的控制台输出:

FAILURE: Build failed with an exception. * What went wrong: java.io.FileNotFoundException: C:\Users\Siddharth\AndroidStudioProjects\IntentAssignment.gradle\2.4\taskArtifacts\cache.properties (The system cannot find the file specified) C:\Users\Siddharth\AndroidStudioProjects\IntentAssignment.gradle\2.4\taskArtifacts\cache.properties (The system cannot find the file specified) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 0.747 secs

最佳答案

删除 gradle 文件夹,退出 Android Studio 并再次启动为我解决了这个问题

关于android - Gradle 构建未执行,因为它找不到 cache.properties,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32745084/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com