Did anyone get the new and shiny Shared (Multiplat...
# multiplatform
t
Did anyone get the new and shiny Shared (Multiplatform) Compose sample running? https://github.com/JetBrains/compose-multiplatform-template If I try to run it in AS Flamingo I get the following error:
Copy code
Caused by: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':androidApp:compileDebugJavaWithJavac' property 'javaCompiler'.
I'm new to Kotlin, but it seems it is the same error that is already reported? https://youtrack.jetbrains.com/issue/KTIJ-24981
āœ… 1
m
Got it working on my end yesterday. What IDE are you using?
t
I just updated AS using the Toolbox šŸ™‚
m
Hmm that should work, although I used Android Studio Giraffe on my end Possible also that your local Java version needs to be updated
t
Thanks, I will have a look :)
n
@Tobias Have you managed to build it? I’m getting the same error + bunch of Toolbox errors on latest stable Android Studio version.
t
@Nezih Yılmaz sadly not 😢
@Nezih Yılmaz but now I fixed it. I had to change the gradle jdk to a 11ner version not a 19th open-jdk.
Now it would be awesome to know "why". šŸ™‚
n
Hmm I’m already on JDK 11 🧐
t
@Nezih Yılmaz which JDK do you use? The Amazon one?
n
I ended up creating a compose multiplatform project with the wizard here: https://terrakok.github.io/Compose-Multiplatform-Wizard/ This one builds without a need for modification.
184 Views