【发布时间】:2024-04-30 12:30:02
【问题描述】:
今天我已将我的 Android Studio 更新到 v1.5。在此更新之前,我的 libgdx 项目运行良好。现在我收到此错误消息。
Error:Unable to load class 'org.gradle.mvn3.org.sonatype.aether.resolution.ArtifactResolutionException'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
我尝试删除 .gradle 文件夹,重新启动 Android Studio,清理项目,但我得到了同样的错误。
感谢您的帮助
【问题讨论】:
-
您使用的是什么操作系统?我使用的是 Ubuntu,但在升级到 Android Studio 1.5 时遇到了问题。
-
@Little Child Windows 8.1
标签: android android-studio gradle libgdx