Skip to main content
Best practices
0 votes
0 replies
41 views

How to include Java in this project and enable mixed development with both Java and Kotlin. I want to know how to use Java and Kotlin interoperably in a Kotlin Multiplatform Compose Desktop project, ...
Sidnio's user avatar
  • 302
2 votes
1 answer
202 views

How can I embed After Effects animations exported with Bodymovin extension as Lottie JSON format in a Compose Multiplatform app (Desktop/Windows/Linux/macOS, Android, iOS, Web/JS/WASM)? Is there a ...
Mahozad's user avatar
  • 26.4k
0 votes
1 answer
94 views

I have a Kotlin Project using Compose for Desktop on Windows (IntelliJ). I built the installer with the Gradle tasks provided by the libary. When installing the program, I want the installer to copy a ...
Alex's user avatar
  • 31
0 votes
0 answers
71 views

I've got a compose multiplatform(desktop mainly) project with some UI packed to *.jar resources config for the feature project compose.resources { packageOfResClass = "com.sample.feature"...
Alex Shapkin's user avatar
1 vote
1 answer
72 views

There are two functions to be used as the entry point for a CMP desktop application: fun usage application() fun main() = application { ... } awaitApplication() suspend fun main() = awaitApplication { ...
Mahozad's user avatar
  • 26.4k
1 vote
0 answers
46 views

I'm developing an application for macOS on Compose Desktop. Compose successfully executes Gradle tasks, but the application crashes on startup. The application must not be published to the App Store. ...
Пимонов Никита's user avatar
1 vote
1 answer
151 views

I'm trying to pass arguments to my Kotlin Multiplatform desktop app. I have this in my build.gradle.kts: tasks.withType<JavaExec> { args = listOf("test") } This is my Main.kt file:...
astroboy's user avatar
  • 1,117
0 votes
1 answer
32 views

Use Intellij Idea Compose Desktop project Main.kt @Composable @Preview fun App() { MaterialTheme { Button( onClick = { val resource = Thread.currentThread() ...
m'g'x's user avatar
  • 1
0 votes
2 answers
118 views

I'm trying to play a WAV file using Java Clip val uri = Res.getUri("files/frog.wav") val audioInputStream = AudioSystem.getAudioInputStream(File(uri)) val clip: Clip = AudioSystem.getClip() ...
NullPointerException's user avatar
0 votes
0 answers
52 views

I have a Compose Desktop application with a lot of dependencies, and it's becoming difficult to make it work with Proguard. Everything works without it, but everything breaks with Proguard. I need to ...
NullPointerException's user avatar
1 vote
1 answer
84 views

I'm getting this runtime exception when obfuscating with Proguard: Exception in thread "DefaultDispatcher-worker-2" com.fasterxml.jackson.c.a.S: Instantiation of [simple type, class com....
NullPointerException's user avatar
1 vote
0 answers
112 views

I'm trying to add proguard to my Compose Desktop app for obfuscating the code. I got a lot of proguard errors after enabling it, but after a lot of research I get rid of all of them adding a lot of ...
NullPointerException's user avatar
3 votes
2 answers
775 views

I'm trying to generate a .MSI file with my Compose Desktop app in Android Studio. I have this gradle: compose.desktop { application { mainClass = "com.helper.MainKt" ...
NullPointerException's user avatar
3 votes
1 answer
289 views

I'm using datastore in compose desktop kotlin multiplatform app: class DataStoreUseCase() { private val dataStore = createDataStore() suspend fun saveString(key: DataStoreKey, value: String) {...
NullPointerException's user avatar
0 votes
1 answer
77 views

In Compose desktop, you specify the app version here: compose.desktop { application { mainClass = "com.helper.MainKt" // ... nativeDistributions { ...
NullPointerException's user avatar

15 30 50 per page
1
2 3 4 5
15