Hi, is there a convenient way to view logs and err...
# compose-desktop
m
Hi, is there a convenient way to view logs and errors from the console without using Android Logcat? I'm having trouble running my Compose Desktop app using the "Run MainKt" button in Android Studio — it doesn't start properly. However, it compiles and runs fine from the command line using:
Copy code
./gradlew :composeApp:run
The issue is that when I run it this way, I lose the ability to easily check for errors or debug output within Android Studio.
Using android studio I have error such as:
Copy code
2025-06-10 18:32:16.033 java[65968:9866605] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Exception in thread "main" java.lang.NoClassDefFoundError: androidx/collection/MutableScatterSet
	at androidx.compose.runtime.Recomposer.<init>(Recomposer.kt:217)