Open OliverO2 opened 1 year ago
Thanks! This instruction is useful for contributors of Compose Multiplatform. In my environment, it is also works with JDK 11. But for that, you also need to follow another steps of this README, like this:
[macOs/Linux] Android SDK downloaded via ./compose/frameworks/support/jbdeps/android-sdk/downloadAndroidSdk
Interesting. I did follow the other step and downloaded the SDK and still got the above error. Wondering what the difference might be.
I remember correctly, these are the steps I took:
IntelliJ IDEA 2022.3.2 (Ultimate Edition)
Build #IU-223.8617.56, built on January 26, 2023
Runtime version: 17.0.5+1-b653.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
git submodule update --init --recursive
git config --global submodule.recurse true
(was already set before)$ java -version
openjdk version "11.0.18" 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Ubuntu-0ubuntu120.04.1)
OpenJDK 64-Bit Server VM (build 11.0.18+10-post-Ubuntu-0ubuntu120.04.1, mixed mode, sharing)
./compose/frameworks/support/jbdeps/android-sdk/downloadAndroidSdk
ANDROID_SDK_ROOT
(previously set to the a separate Android SDK at another location)
Thanks for this research! We will check it! What OS do you have?
Ubuntu 20.04.5 LTS (yes, I'm lazy with upgrading this one).
@OliverO2 So, with JDK17 your development environment works well?
I think soon we will update this doc to use JDK17 and newer.
So, with JDK17 your development environment works well?
Yes, so far it does. I have successfully ported compose-counting-grid to Wasm as you can see in this Slack thread. Somewhat hacky, but I was able to integrate it as another example next to compose-jb/compose/frameworks/support/compose/mpp/demo
.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug Trying the build as described in compose/README.md:
Affected platforms Select one of the platforms below:
Versions