Android Studio的Gradle问题,Google不到,特地求助

这是刚打开AS的提示:
14:08:52 Gradle sync started
14:08:56 NoClassDefFoundError: Could not initialize class org.jetbrains.plugins.groovy.dsl.GroovyDslExecutor
14:09:10 Gradle sync failed: Unable to load class 'groovy.lang.GroovyObject'.
Consult IDE log for more details (Help | Show Log)
如下是日志:
org.jetbrains.plugins.groovy.dsl.GroovyDslExecutor
java.lang.NoClassDefFoundError: Could not initialize class org.jetbrains.plugins.groovy.dsl.GroovyDslExecutor
at org.jetbrains.plugins.groovy.dsl.GroovyDslFileIndex$5.compute(GroovyDslFileIndex.java:398)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:84)
at org.jetbrains.plugins.groovy.dsl.GroovyDslFileIndex.getDslScripts(GroovyDslFileIndex.java:387)
at org.jetbrains.plugins.groovy.dsl.GroovyDslFileIndex.processScriptSuperClasses(GroovyDslFileIndex.java:205)
at org.jetbrains.plugins.groovy.lang.psi.impl.synthetic.GroovyScriptClass.getExtendsListTypes(GroovyScriptClass.java:183)
at com.intellij.psi.impl.PsiClassImplUtil.getSuperTypes(PsiClassImplUtil.java:890)
at org.jetbrains.plugins.groovy.lang.psi.impl.synthetic.GroovyScriptClass.getSuperTypes(GroovyScriptClass.java:270)
at com.intellij.psi.impl.PsiClassImplUtil.calcScopeCorrectedSuperTypes(PsiClassImplUtil.java:755)
at com.intellij.psi.impl.PsiClassImplUtil.access$600(PsiClassImplUtil.java:61)
at com.intellij.psi.impl.PsiClassImplUtil$2$1.create(PsiClassImplUtil.java:743)
at com.intellij.psi.impl.PsiClassImplUtil$2$1.create(PsiClassImplUtil.java:739)
at com.intellij.util.containers.FactoryMap.get(FactoryMap.java:56)
at com.intellij.psi.impl.PsiClassImplUtil.getScopeCorrectedSuperTypes(PsiClassImplUtil.java:749)
at com.intellij.psi.impl.PsiClassImplUtil.processSuperTypes(PsiClassImplUtil.java:778)
at com.intellij.psi.impl.PsiClassImplUtil.processDeclarationsInClassNotCached(PsiClassImplUtil.java:720)
at com.intellij.psi.impl.PsiClassImplUtil.access$500(PsiClassImplUtil.java:61)
at com.intellij.psi.impl.PsiClassImplUtil$MembersMap.create(PsiClassImplUtil.java:414)
at com.intellij.psi.impl.PsiClassImplUtil$MembersMap.create(PsiClassImplUtil.java:361)
at com.intellij.util.containers.FactoryMap.get(FactoryMap.java:56)
at com.intellij.psi.impl.PsiClassImplUtil.processCachedMembersByName(PsiClassImplUtil.java:514)
at com.intellij.psi.impl.PsiClassImplUtil.processDeclarationsInClass(PsiClassImplUtil.java:486)
at com.intellij.psi.impl.PsiClassImplUtil.processDeclarationsInClass(PsiClassImplUtil.java:463)
at org.jetbrains.plugins.groovy.lang.psi.impl.synthetic.GroovyScriptClass.processDeclarations(GroovyScriptClass.java:525)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileImpl.processDeclarations(GroovyFileImpl.java:145)
at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.doProcessDeclarations(ResolveUtil.java:158)
at org.jetbrains.plugins.groovy.lang.resolve.DeclarationCacheKey.collectScopeDeclarations(DeclarationCacheKey.java:136)
at org.jetbrains.plugins.groovy.lang.resolve.DeclarationCacheKey.access$000(DeclarationCacheKey.java:42)
at org.jetbrains.plugins.groovy.lang.resolve.DeclarationCacheKey$2.process(DeclarationCacheKey.java:125)
at org.jetbrains.plugins.groovy.lang.resolve.DeclarationCacheKey$2.process(DeclarationCacheKey.java:122)
at com.intellij.psi.util.PsiTreeUtil.treeWalkUp(PsiTreeUtil.java:1009)
at org.jetbrains.plugins.groovy.lang.resolve.DeclarationCacheKey.collectDeclarations(DeclarationCacheKey.java:122)
at org.jetbrains.plugins.groovy.lang.resolve.DeclarationCacheKey.getAllDeclarations(DeclarationCacheKey.java:144)
at org.jetbrains.plugins.groovy.lang.resolve.DeclarationCacheKey.processCachedDeclarations(DeclarationCacheKey.java:151)
at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.treeWalkUp(ResolveUtil.java:116)
at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.treeWalkUp(ResolveUtil.java:97)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceResolveRunner.doResolve(GrReferenceResolveRunner.java:64)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceResolveRunner.resolveImpl(GrReferenceResolveRunner.java:52)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.resolveMethodOrProperty(GrReferenceExpressionImpl.java:291)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.doPolyResolve(GrReferenceExpressionImpl.java:869)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.access$100(GrReferenceExpressionImpl.java:73)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$3$1.compute(GrReferenceExpressionImpl.java:570)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$3$1.compute(GrReferenceExpressionImpl.java:567)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$3.compute(GrReferenceExpressionImpl.java:567)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$3.compute(GrReferenceExpressionImpl.java:563)
at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext$1$1.compute(InferenceContext.java:60)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:84)
at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext$1.getCachedValue(InferenceContext.java:56)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.resolveByShape(GrReferenceExpressionImpl.java:563)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.resolve(GrReferenceExpressionImpl.java:556)
at org.jetbrains.plugins.groovy.annotator.GrDeclarationHighlightingVisitor.visit(GrDeclarationHighlightingVisitor.java:71)
at org.jetbrains.plugins.groovy.annotator.GrDeclarationHighlightingVisitor.visitReferenceExpression(GrDeclarationHighlightingVisitor.java:47)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.accept(GrReferenceExpressionImpl.java:456)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptGroovyChildren(GroovyPsiElementImpl.java:77)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:61)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:25)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitStatement(GroovyElementVisitor.java:72)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitApplicationStatement(GroovyElementVisitor.java:140)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrApplicationStatementImpl.accept(GrApplicationStatementImpl.java:37)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.acceptChildren(GroovyFileBaseImpl.java:204)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:25)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitFile(GroovyElementVisitor.java:64)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.accept(GroovyFileBaseImpl.java:196)
at org.jetbrains.plugins.groovy.annotator.GrReferenceHighlighter.doCollectInformation(GrReferenceHighlighter.java:46)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1180)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:432)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:206)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
2016-04-10 14:10:33,621 [ 140594] ERROR - aemon.impl.PassExecutorService - Android Studio 2.0 Build #AI-143.2739321
2016-04-10 14:10:33,621 [ 140594] ERROR - aemon.impl.PassExecutorService - JDK: 1.8.0_73
2016-04-10 14:10:33,622 [ 140595] ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM
2016-04-10 14:10:33,622 [ 140595] ERROR - aemon.impl.PassExecutorService - Vendor: Oracle Corporation
2016-04-10 14:10:33,622 [ 140595] ERROR - aemon.impl.PassExecutorService - OS: Linux
2016-04-10 14:10:33,622 [ 140595] ERROR - aemon.impl.PassExecutorService - Last Action: ShowLog
2016-04-10 22:15 添加评论 分享
已邀请:

要回复问题请先登录注册

退出全屏模式 全屏模式 回复