Status Update
Comments
ho...@gmail.com <ho...@gmail.com> #2
Found a similar issue which suggetsed adding the following to vmoptions:
-Dgradle.ide.gradle.sync.use.v2=false
The above fix corrected the grade sync issue . This issue is a duplicate and can be closed. Thanks
-Dgradle.ide.gradle.sync.use.v2=false
The above fix corrected the grade sync issue . This issue is a duplicate and can be closed. Thanks
mk...@google.com <mk...@google.com>
sh...@gmail.com <sh...@gmail.com> #3
Gradle sync failed: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4-bin.zip '. (1 s 706 ms)
Android Studio Dolphin | 2021.3.1 Beta 3
Build #AI-213.7172.25.2113.8684940, built on June 6, 2022
Runtime version: 11.0.13+0-b1751.21-8125866 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 4
Android Studio Dolphin | 2021.3.1 Beta 3
Build #AI-213.7172.25.2113.8684940, built on June 6, 2022
Runtime version: 11.0.13+0-b1751.21-8125866 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 4
Description
AI-212.5712.43.2112.8512546, JRE 11.0.12+7-b1504.28-7817840x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920.0x1080.0
AS: Chipmunk | 2021.2.1; Kotlin plugin: 212-1.6.21-release-334-AS5457.46; Android Gradle Plugin: 7.1.3; Gradle: 7.2; Gradle JDK: version 11.0.12; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: (not found)
IMPORTANT: Please read
When I tried to update ANdroid Gradle Plugin, I got the following error messages:
* Exception is:
java.lang.StackOverflowError
at com.google.common.collect.Sets.hashCodeImpl(Sets.java:1711)
at com.google.common.collect.ImmutableMap.hashCode(ImmutableMap.java:873)
at com.android.build.gradle.internal.ide.dependencies.ResolvedArtifact.hashCode(ResolvedArtifact.kt)
at com.android.build.gradle.internal.ide.dependencies.LibraryServiceImpl.getLibrary(LibraryService.kt:116)
at com.android.build.gradle.internal.ide.dependencies.FullDependencyGraphBuilder.handleDependency(FullDependencyGraphBuilder.kt:187)
at com.android.build.gradle.internal.ide.dependencies.FullDependencyGraphBuilder.handleDependency(FullDependencyGraphBuilder.kt:194)
at com.android.build.gradle.internal.ide.dependencies.FullDependencyGraphBuilder.handleDependency(FullDependencyGraphBuilder.kt:194)
at com.android.build.gradle.internal.ide.dependencies.FullDependencyGraphBuilder.handleDependency(FullDependencyGraphBuilder.kt:194)
at com.android.build.gradle.internal.ide.dependencies.FullDependencyGraphBuilder.handleDependency(FullDependencyGraphBuilder.kt:194)
at com.android.build.gradle.internal.ide.dependencies.FullDependencyGraphBuilder.handleDependency(FullDependencyGraphBuilder.kt:194)
..
The last enty repeated many times. I have 3 other apps that AGP upgraded with no problem.
I would appreciate if you could review the issue and suggest a workaround for me. Thanks.