https://kotlinlang.org
Join Slack
Hey guys, what the meaning of this error `kotlinx.serialization compiler plugin is not applied to t...
v

Vivek Modi

almost 3 years ago
Hey guys, what the meaning of this error
kotlinx.serialization compiler plugin is not applied to the module, so this annotation would not be processed. Make sure that you've setup your buildscript correctly and re-import project.
v
m
+2
  • 4
  • 11
  • 1859
Hey! how can I open a URL link in KMM?
a

Aleksandr Davliatov

over 1 year ago
Hey! how can I open a URL link in KMM?
a
r
+2
  • 4
  • 5
  • 1837
I am having trouble getting Kotlin language server to work within a fresh ubuntu machine install on ...
r

Ray Rahke

over 1 year ago
I am having trouble getting Kotlin language server to work within a fresh ubuntu machine install on VSCode. 1. I create a new codespace on github (this is just an ubuntu vm) 2. I create a
main.kt
file with a simple hello world print. There is no boilerplate or folder structure, just
project/main.kt
3. I install
Kotlin
extension by fwcd. I receive the output error
... 3 more
Caused by: org.javacs.kt.util.KotlinLSException: No repositories found at $MAVEN_REPOSITORY, $MAVEN_HOME, $M2_HOME or $HOME/.m2
	at org.javacs.kt.classpath.HomeKt.<clinit>(Home.kt:22)
	... 21 more

[Error - 8:01:49 PM] Kotlin Language Client client: couldn't create connection to server.
  Message: Internal error.
  Code: -32603 
java.util.concurrent.CompletionException: java.lang.ExceptionInInitializerError
This does not happen on my actual machine, where all the intellisense just works after installing the extension. I assume I am missing something I need to download, but can't figure out what. On previous attempts I tried installing kotlinc and openjdk-18, but neither fixed the issue, unless I did not configure them correctly. Can someone please tell me what dependencies are required to get this to work assuming a totally fresh system with no java/kotlin/intellij stuff installed previously?
r
c
j
  • 3
  • 4
  • 1834
Which is the recommended library for hashing passwords in Kotlin/Ktor? E.g. bcrypt does not appear ...
n

Nathan Kleinschmidt

about 3 years ago
Which is the recommended library for hashing passwords in Kotlin/Ktor? E.g. bcrypt does not appear to have an official Kotlin library.
n
n
+2
  • 4
  • 7
  • 1831
Is there any practical way to load SVG files on Compose/iOS at the moment? I can see the `Image`/`Im...
d

darkmoon_uk

almost 3 years ago
Is there any practical way to load SVG files on Compose/iOS at the moment? I can see the `Image`/`ImageVector`/`vectorPainter` API set is present - any existing code to get SVG format loaded into that?
d
m
+2
  • 4
  • 10
  • 1822
Has anyone configured SonarQube to work with Kover? Is there any special configuration required?
l

Lukasz Kalnik

about 2 years ago
Has anyone configured SonarQube to work with Kover? Is there any special configuration required?
l
r
+3
  • 5
  • 9
  • 1817
Hi! Im trying to get npm packages from 2 different registries. As I saw it should be possible with t...
c

Császár Ákos

over 1 year ago
Hi! Im trying to get npm packages from 2 different registries. As I saw it should be possible with this approach:
registry=<http://serverA.url/repository-uri/>
//serverA.url/repository-uri/:_authToken=00000000-0000-0000-0000-0000000000000
//registry.npmjs.org/
But every time I try, it can't access the packages from registry.npmjs.org/. So my question is, is it possible to do this from the .npmrc file? If yes how should it look like and is it enough if I put it in the project root of my KMP project? My goal is to run the ./gradlew jsBrowserProductionWebpack task and collect every package from the defined registries.
c
a
i
  • 3
  • 3
  • 1813
Hi guys, do you know any library which can generate QR codes and support KMM?
t

Tung97 Hl

over 2 years ago
Hi guys, do you know any library which can generate QR codes and support KMM?
t
r
+6
  • 8
  • 14
  • 1812
Anybody facing this error when using `Modifier.fillMazSize()` on `UIKitView` Error in thread
c

Cherrio LLC

about 1 year ago
Anybody facing this error when using
Modifier.fillMazSize()
on
UIKitView
Error in thread
c
f
  • 2
  • 9
  • 1806
How do I know if a lateinit local variable is initialized? ```fun foo() { lateinit var x: Int ...
m

Mendess

over 3 years ago
How do I know if a lateinit local variable is initialized?
fun foo() {
    lateinit var x: Int
    if (::x.isInitialized()) {}
}
This doesn't seem to work
m
j
+2
  • 4
  • 14
  • 1794
Previous101112Next

kotlinlang

A modern programming language that makes developers happier.

Powered by