-
Notifications
You must be signed in to change notification settings - Fork 230
Compose Multiplatform #444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you checked the language server logs? They usually give an indication of what has gone wrong. In VSCode, select the Kotlin-option in the Output-tab: Kotlin Multiplatform are not fully supported, but we have some workarounds that work in a lot of cases. We should know more based upon your log output. There might be output like in the following issue in your logs: #376 (comment) |
Good that you got it partly working 🙂 Just a quick question: which version of the language server are you using? The one that got downloaded automatically? Then that version is old, and doesn't work well with Kotlin 1.8. You can workaround this by building the language server yourself, and setting its path in the VSCode extension settings. Extension Sadly I do not have permissions to release the project, but automatic releases are being worked on... (and will hopefully be done and approved soon'ish). You have to go a bit earlier into the log to see anything useful for dependency resolution btw 🙂 If you go very early into the logs, you should see lines like |
thanks :-) ! I built the new version and everything is working now ! |
Hi , im trying to use Compose Multiplatform and setting vscode.
I'm getting Unresolved reference: androidxkotlin(UNRESOLVED_REFERENCE) for all of my dependencies.
this is my Gradle:
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
application
kotlin("jvm") version "1.8.0"
id("org.jetbrains.compose") version "1.3.1"
}
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
dependencies {
// Use JUnit Jupiter for testing.
testImplementation("org.junit.jupiter:junit-jupiter:5.7.2")
}
application {
// Define the main class for the application.
mainClass.set("example.AppKt")
}
any idea how to fix it ?
The text was updated successfully, but these errors were encountered: