Luffy D. Monkey
10/07/2021, 6:23 PMNo compatible toolchains found for request filter: {languageVersion=6, vendor=any, implementation=vendor-specific} (auto-detect true, auto-download true)
error, how do I resolve this error? I am on macOS and have insatlled java6 using brew as mentioned in the README.dmitriy.novozhilov
10/07/2021, 6:27 PMkotlin.build.isObsoleteJdkOverrideEnabled=true
to local.properties
file
https://github.com/JetBrains/kotlin/blob/master/ReadMe.md#build-environment-requirementsilya.gorbunov
10/08/2021, 10:09 AMgradlew javaToolchains
to see if the installed JDK 6 is detected by gradle.ilya.gorbunov
10/08/2021, 10:12 AMJDK_16
environment variable to the path to that JDK.Luffy D. Monkey
10/08/2021, 2:28 PMgradlew -q javaToolchains
but even that failed with the error I've mentioned in the starting of this thread. Surprisingly it didn't give me the detected JDK versions on my device (even though I had multiple JDK installed on the standard path). I didn't try setting this JDK_16
env variable (will try it now), but uncommenting the flag mentioned by Dmitriy in gradle.properties
file did the job. Thanks!