Version : 3.2.1 for Windows 64-bit
I updated to the most recent version of Android Studio, and once again it has caught fire.
Any ideas on how to resolve the issue below ?
Gradle sync failed: java.lang.StackOverflowError at com.android.tools.idea.gradle.dsl.parser.groovy.GroovyDslUtil.findInjections(GroovyDslUtil.java:823) at com.android.tools.idea.gradle.dsl.parser.groovy.GroovyDslParser.getInjections(GroovyDslParser.java:280) at com.android.tools.idea.gradle.dsl.parser.elements.GradleDslSimpleExpression.lambda$fetchDependencies$1(GradleDslSimpleExpression.java:664) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:913) at com.android.tools.idea.gradle.dsl.parser.elements.GradleDslSimpleExpression.fetchDependencies(GradleDslSimpleExpression.java:663) at com.android.tools.idea.gradle.dsl.parser.elements.GradleDslSimpleExpression.setupDependencies(GradleDslSimpleExpression.java:673) at com.android.tools.idea.gradle.dsl.parser.elements.GradleDslSimpleExpression.resolve(GradleDslSimpleExpression.java:654) at com.android.tools.idea.gradle.dsl.parser.elements.GradleDslSimpleExpression.
StackOverflowError is a runtime error which points to serious problems that cannot be caught by an application. The java. lang. StackOverflowError indicates that the application stack is exhausted and is usually caused by deep or infinite recursion.
Try this.
File -> Invalidate Caches/restart -> Invalidate and Restart
Build -> Clean Project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With