https://kotlinlang.org logo
Title
d

Daniele B

05/26/2021, 9:37 AM
So, is it possible to compile Compose Desktop only with IntellijIDEA and not with Android Studio?
b

Big Chungus

05/26/2021, 9:38 AM
Should be, as long as you have android SDK on your machine
i

Igor Demin

05/26/2021, 9:45 AM
Android SDK is not needed if we compile only-desktop project. Intellij IDEA can be used for opening desktop-only, android-only or MPP projects.
b

Big Chungus

05/26/2021, 9:45 AM
I think OP asked if you can compile compose-desktop itself, not a consumer project.
i

Igor Demin

05/26/2021, 9:49 AM
For compiling compose-desktop itself, yes, we need Android SDK. (Gradle build scripts refer to it even when we build desktop libraries)
d

Daniele B

05/26/2021, 10:20 AM
I found the issue that didn’t show the Gradle’s tasks list On Android Studio, I had selected “Do not build Gradle task list during Gradle sync”
j

Javier

05/26/2021, 10:30 AM
@Igor Demin but he means android studio, you can use the android sdk with intellij too. The only problem you can have is intellij doesn't support the latest AGP version
k

KamilH

05/26/2021, 10:41 AM
It's not a bug, it's a feature 😅