:video_camera::kotlin_emoji: Introducing Our Lates...
# compose
d
📹K Introducing Our Latest Video:

Building a Full Compose Multiplatform Mobile App in 100% Kotlin

!
🚀 We’d like to share a brand-new video featuring @Sebastian Aigner, our Developer Advocate, as he guides you through the process of building a multiplatform app using Kotlin Multiplatform and Compose Multiplatform. You’ll see how to create a mobile application for both Android and iOS with shared business logic and UI. With this approach, you’ll save time and effort while delivering a consistent user experience across platforms. Come join Sebastian and explore how Compose Multiplatform helps you elevate your mobile development skills to new levels! Watch now! ⤵️
🔥 9
😱 3
👀 11
c
OH HELL YEAH. Thanks @Sebastian Aigner been meaning to get into this but didn't wanna get stuck on an outdated tutorial. this should be perfect. cheers buddy
🤗 1
d
Trying to build the template from the github repo and I am getting an error:
Copy code
Caused by: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':androidApp:compileDebugJavaWithJavac' property 'javaCompiler'.
kdoctor
is showing all things operational. And the project I created with the multiplatform project wizard is working fine. Super confused right now though.
Maybe I need java 8?
Copy code
./gradlew -q javaToolchains

 + Options
     | Auto-detection:     Enabled
     | Auto-download:      Enabled

 + Amazon Corretto JDK 17.0.6+10-LTS
     | Location:           /Users/erock/Library/Java/JavaVirtualMachines/corretto-17.0.6/Contents/Home
     | Language Version:   17
     | Vendor:             Amazon Corretto
     | Architecture:       x86_64
     | Is JDK:             true
     | Detected by:        IntelliJ IDEA

 + Amazon Corretto JDK 19.0.2+7-FR
     | Location:           /Users/erock/Library/Java/JavaVirtualMachines/corretto-19.0.2/Contents/Home
     | Language Version:   19
     | Vendor:             Amazon Corretto
     | Architecture:       x86_64
     | Is JDK:             true
     | Detected by:        IntelliJ IDEA

 + Homebrew JDK 20.0.1
     | Location:           /usr/local/Cellar/openjdk/20.0.1/libexec/openjdk.jdk/Contents/Home
     | Language Version:   20
     | Vendor:             Homebrew
     | Architecture:       x86_64
     | Is JDK:             true
     | Detected by:        Current JVM
s
Hm, that's odd. AFAIK, the project actually specifies
javaToolchain(11)
, so maybe give that a shot? 🤔
Untitled
d
I'll try jdk11 and see what happens
s
Let me know if it doesn’t work — we’ll figure it out somehow! 😄
d
Will do, I might not be able to check that out today but I will ping you once I do 😃
👌🏼 1
So I installed openjdk 11 and that is not solving the error.
The project I made from the wizard is working. So I think I am going to take that one and manually copy a bunch of the code from the template into that.
It would probably be good for me to understand how to build up a project from scratch anyway. Also, I want to try not using cocoapods.
c
ooh. not using cocoapods. let me know how that goes. id like to be spm all the way