Android的工作室 - 摇篮同步错误
我在机器人工作室同步错误。 我使用:从金丝雀通道1.0.2版本。 摇篮:我试着与2.2.1版本(从 HTTPS下载://www.gradle。组织/下载)和自我下载版。 JDK :jdk1.8.0_05
I have a synchronization error in Android Studio. I Use: 1.0.2 version from canary channel. Gradle: I tried with version 2.2.1(downloaded from https://www.gradle.org/downloads) and self-download version. JDK: jdk1.8.0_05
我创建了一个新的项目和错误永远是相同的:
I created a new project and the error is always the same:
错误:找不到方法 org.objectweb.asm.ClassReader.getMaxStringLength()我。可能的原因 这个意外的错误包括:
Error:Unable to find method 'org.objectweb.asm.ClassReader.getMaxStringLength()I'. Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
我试图与失效缓存方法和停止摇篮守护,但没有解决问题。
I tried resolve the issue with the invalidation of cache method, and stopping Gradle daemon, but nothing..
删除 .gradle
目录,无论是在你的主目录,并在你的项目的顶层。摇篮的缓存directoires不受清除高速缓存和重新启动选项。
Delete the .gradle
directories both in your home directory and at the top level of your project. Gradle's cache directoires aren't affected by the "Clear caches and restart" option.