Unable to find solution for Gradle Sync problem

I am getting Gradle sync failed: startup failed:
General error during class generation: java.lang.NoClassDefFoundError: groovyjarjarasm/asm/AnnotationWriter during Sync with Gradle file. The Jist Source code is trying to sync which is getting failed. On Gradlew clean i am getting error ‘detect premature of EOF’.
Gradle sync failed: startup failed:
General error during class generation: java.lang.NoClassDefFoundError: groovyjarjarasm/asm/AnnotationWriter
java.lang.RuntimeException: java.lang.NoClassDefFoundError: groovyjarjarasm/asm/AnnotationWriter
at org.codehaus.groovy.control.CompilationUnit.convertUncaughtExceptionToCompilationError(CompilationUnit.java:1123)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1101)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:624)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:602)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:579)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:323)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:293)
at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileScript(DefaultScriptCompilationHa… (show balloon)

I have never seen this problem :open_mouth:

Don’t know…I have also uninstalled and deleted previous settings and re-installed with new studio version. Getting same issue again n again.