https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
u

Ume Channel

04/02/2024, 6:20 PM
Hello guys! In compose multiplatform. How to make file application on Desktop like APk in android? (windows, linux, macos)
a

Alexander Maryanovsky

04/02/2024, 6:24 PM
You may want to rephrase that question. I couldn’t parse it.
7
💯 3
k

Kirill Grouchnikov

04/02/2024, 7:20 PM
Do you mean how to create a UI like this?
u

Ume Channel

04/03/2024, 2:53 AM
@Alexander Maryanovsky @Kirill Grouchnikov how to make an file application like Apk in android for desktop(linux, windows, macos) or in web in compose Multiplatform? I use android, web, desktop and ios
Is there a generator? I'm new about how to packages, deploy or publish your app.
u

Ume Channel

04/03/2024, 7:18 AM
Where can i locate this files?
Is there any video tutorial or somethings beginner's guide? about distribution
m

mohamed rejeb

04/03/2024, 8:18 AM
You can check the desktop section (30mn -> 43mn)

https://youtu.be/HpfFu2nl32s?t=2189

😮 1
u

Ume Channel

04/03/2024, 9:14 AM
@mohamed rejeb how to fix this, currently I'm using linux and toolbox
d

Dragos Rachieru

04/08/2024, 7:42 AM
what JDK version are you using?
u

Ume Channel

04/13/2024, 10:19 AM
@Dragos Rachieru
d

Dragos Rachieru

04/13/2024, 10:27 AM
Try again with a different JDK, maybe the project is set to Intellij's JDK, not sure if it still uses JDK 11
Intellij may not use the system's JDK, you have to check in project settings to see which one you use to build/run the project
K 1
Most likely you have jbr-11 set
a

Alexander Maryanovsky

04/13/2024, 10:34 AM
Set the JDK which Gradle runs in here:
🐕 1
u

Ume Channel

04/14/2024, 8:54 AM
thank you, and now i have another problem. How to solve this?😅
a

Alexander Maryanovsky

04/14/2024, 8:57 AM
Look in the error and output logs
u

Ume Channel

04/14/2024, 9:11 AM
I'm new to this, how can I solve this? how to access jlink
d

Dragos Rachieru

04/14/2024, 1:27 PM
Sadly this is not related to compose, creating a Deb file uses jpackage, something that is part of JDK, I don't know how to debug this issue
🔧 1
Maybe this is related to Ubuntu, maybe dpkg (native tool to cred Deb files) needs root access to work
🔧 1
I am using archlinux with official openjdk 21 and dpkg, it worked fine for me
🔧 1
20 Views