Android Studio - Gradle sync error
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: 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