Go SDK Download Fails - "Corrupted"
Answered
Hello,
Every time I select the option to "download" the Go SDK, it fails with the message
"Failed to download SDK
Unpacked SDK is corrupted."
It's extracting into a directory in my home directory.
Nothing apparently useful in the log:
2021-09-24 12:15:28,974 [ 94547] INFO - tform.templates.github.ZipUtil - Extract: go/test/zerodivide.go
2021-09-24 12:15:29,183 [ 94756] INFO - .download.GoDownloadSdkService - Unpacked SDK is corrupted. Home path: C:\Users\micha\go\go1.17.1
I downloaded & unpacked go1.17.1.windows-amd64.zip, in the same place. GoLand says it is not a valid path to the SDK. Tell me what file I need to download & I'll do it. Something wrong with this auto-download feature.
Thanks.
Please sign in to leave a comment.
Hello,
What version of GoLand are you using (Help | Find Action | About)?
IntelliJ IDEA 2019.1.4 (Ultimate Edition)
Build #IU-191.8026.42, built on July 30, 2019
Licensed to Michael Powe
You have a perpetual fallback license for this version
Subscription expired on February 1, 2021
JRE: 1.8.0_212-release-1586-b4 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Also, using JDK 16.0.2.
Thanks.
mp
It's a known problem caused by changes in Go SDK. Unfortunately, there are only two options: one either needs to update to 2020.3 or newer or follow this workaround.
Sorry, in the wrong app. :(
GoLand 2019.1.4
Build #GO-191.8026.48, built on August 2, 2019
Licensed to Michael Powe
You have a perpetual fallback license for this version
Subscription expired on February 1, 2021
JRE: 1.8.0_212-release-1586-b4 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Joy. That worked. First time I started GoLand, it failed again. I'm stubborn, retried and second start it worked.
Thanks for the prompt help. I'd re-up my subscription if I could. Great tools.
Thanks again.