Hey guys, I am having an issue with my kotlin library project.
when I export the project as
aar
and compile it to a project that kotlin is not added to and having the exception
Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Lambda"
What could be the problem?
My kotlin dependencies as below,
api 'org.jetbrains.kotlinkotlin stdlib1.2.21'
api 'org.jetbrains.kotlinxkotlinx coroutines core0.22.2'
api 'org.jetbrains.ankoanko coroutines0.10.4'
file does not include the dependencies as @louiscad mentioned, the pom file wasn't including dependencies of the library module. solution can be found in the stackoverflow question above.