Hello there, please I am new to flutter and I am just creating my first flutter application. However, I experience this error:
BUILD FAILED in 7m 29s
Running Gradle task 'assembleDebug'... 450.6s
[!] Gradle threw an error while downloading artifacts from the network.
Retrying Gradle Build: #1, wait time: 100ms
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all artifacts for configuration 'classpath'.
> Could not download kotlin-gradle-plugin-1.8.22-gradle76.jar (org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22)
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.8.22/kotlin-gradle-plugin-1.8.22-gradle76.jar'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.8.22/kotlin-gradle-plugin-1.8.22-gradle76.jar'.
> Got socket exception during request. It might be caused by SSL misconfiguration
> Network is unreachable: getsockopt
> Could not download kotlin-compiler-embeddable-1.8.22.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.22)
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.8.22/kotlin-compiler-embeddable-1.8.22.jar'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.8.22/kotlin-compiler-embeddable-1.8.22.jar'.
> Got socket exception during request. It might be caused by SSL misconfiguration
> Network is unreachable: getsockopt
> Could not download grpc-api-1.57.0.jar (io.grpc:grpc-api:1.57.0)
> Could not get resource 'https://repo.maven.apache.org/maven2/io/grpc/grpc-api/1.57.0/grpc-api-1.57.0.jar'.