https://kotlinlang.org logo
#k2-early-adopters
Title
# k2-early-adopters
s

Sterling Albury

10/04/2023, 8:11 PM
so I have this project where I'm getting a
Unresolved reference: serializer
error when I enabled k2. I kind of reproduced the error in a bare bone project here. In my main project I'm seeing the same error but it's coming from another module. the project is an android project. it has the app module, two android library modules, and has a multiplatform module that's in a subproject. the first library module has dependencies on the second android library module and the shared kmm module. if either of these modules aren't a dependency (move the neede file around), then I don't think I see the error, but with both of them as a dep I do see the error. if I don't enable k2 then I also don't see the error. trying to figure out if I'm not setting up the project correctly or if this is an issue with the serialization library or a k2 issue.
my main project is a bit more complicated with a lot more modules/dependencies. when I enable k2 on the main project, the unresolved error is basically coming from the first library, but with this test project the unresolved error is coming from the shared kmm module
d

dmitriy.novozhilov

10/05/2023, 5:30 AM
Hey Please report an issue and attach sample project to it kotl.in/issue
👍 1
d

dmitriy.novozhilov

10/05/2023, 5:54 PM
Thank you!
2 Views