Fixed
Status Update
Comments
tn...@google.com <tn...@google.com> #2
I tried to repro this but I can't open the project on my M1 -- maybe this is a newbie Gradle+toolchains question?
Failed to calculate the value of task ':compose-lint-checks:compileJava' property 'javaCompiler'.
No matching toolchains found for requested specification: {languageVersion=19, vendor=any, implementation=vendor-specific} for MAC_OS on aarch64.
No locally installed toolchains match and toolchain download repositories have not been configured.
pa...@google.com <pa...@google.com>
ph...@google.com <ph...@google.com> #3
Eyeballing LintClient.kt
and TestLintClient.kt
shows that:
- When
LintClient.kt
figures outgetSdkHome()
, it callsreport
if the path is non-exsitent LintClient
'sreport
ing defers to the run-time subclass, which isTestLintClient
in this case. WhenTestLintClient
report
s, it tries to figure outLintClient.pathVariables
, which leads back toLintClient.getSdkHome()
bl...@google.com <bl...@google.com>
bl...@google.com <bl...@google.com>
an...@google.com <an...@google.com> #4
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Iguana | 2023.2.1 Canary 14
- Android Gradle Plugin 8.3.0-alpha14
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
I tried to debug b/297544175 after cloning https://github.com/slackhq/compose-lints ) and clicking the run button on
git@github.com:slackhq/compose-lints.git
(M2ApiDetectorTest
, which requiredANDROID_HOME
:But, after setting
ANDROID_HOME
to$HOME/Android/Sdk
(where my Android SDK exists), now I got: