Closed
Description
I run the project on my new MacBook pro with m1 pro, Adopt JDK download failed.
Execution failed for task ':okhttp:compileKotlin'.
> Error while evaluating property 'kotlinJavaToolchainProvider.javaVersion' of task ':okhttp:compileKotlin'
> Failed to calculate the value of property 'providedJvm$kotlin_gradle_plugin'.
> Unable to download toolchain matching these requirements: {languageVersion=11, vendor=ADOPTOPENJDK, implementation=vendor-specific}
> Unable to download toolchain. This might indicate that the combination (version, architecture, release/early access, ...) for the requested JDK is not available.
> Could not read 'https://api.adoptopenjdk.net/v3/binary/latest/11/ga/mac/aarch64/jdk/hotspot/normal/adoptopenjdk' as it does not exist.