今天我已将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:
我尝试删除.gradle文件夹,重启Android Studio,清理项目,但我得到了同样的错误.
感谢帮助
我只需要在主gradle文件中更新gradle构建工具
classpath 'com.android.tools.build:gradle:1.3.0' classpath 'org.robovm:robovm-gradle-plugin:1.0.0-beta-04'
至:
classpath 'com.android.tools.build:gradle:1.2.3' classpath 'org.robovm:robovm-gradle-plugin:1.9.0'