Skip to content
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

[BUG] Error after upgrading from 1.6.0 -> 1.6.1/2 depending on kotlin version used #423

Open
Hipermuflon opened this issue Dec 17, 2024 · 0 comments

Comments

@Hipermuflon
Copy link

Describe the bug
I am trying to upgrade my whole project to newest libraries (kotlin 2.0.0 included). The behaviour I'm seeing is really weird and depends on the kotlin version I'm using. I tried to use other libraries' versions exactly like in Precompose repo.

To Reproduce kotlin 2.0.0
Steps to reproduce the behavior:

  1. Upgrade precompose to 1.6.2 and kotlin to 2.0.0
  2. Build project
  3. Build fails with error java.lang.IllegalStateException: FIELD name:moe_tlaster_precompose_navigation_Navigator$stable type:kotlin.Int visibility:public [final,static]

To Reproduce kotlin 2.0.21
Steps to reproduce the behavior:

  1. Upgrade precompose to 1.6.2 and kotlin to 2.0.21
  2. Build project
  3. Build succeeds
  4. One of my UI's that uses UIKitViewController doesn't render (it works fine with kotlin 1.9.23 and precompose 1.6.0)

Expected behavior
Project builds and all the views are rendered correctly.

I am wondering what might be the issue but maybe a new version of precompose with kotlin upgraded to 2.0.21 would work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant