question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to link downstream project consuming Kotlin/Native-built runtime

See original GitHub issue
> Task :molecule-runtime:linkDebugTestIosSimulatorArm64 FAILED
e: Compilation failed: Failed to compute the detailed error message. See the root cause exception.

Shortly: The required symbol androidx.compose.runtime/remember|-4100818973694024771[0] is missing in the module or module dependencies. This could happen if the required dependency is missing in the project. Or if there is a dependency that has a different version (without the required symbol) in the project than the version (with the required symbol) that the module was initially compiled with.

I have kotlin.native.cacheKind=none set in the project’s gradle.properties but it still does not compile.

Repro on this branch https://github.com/cashapp/molecule/tree/jw/link-thing/2022-09-21 running ./gradlew -p molecule :m-r:check.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:9
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dima-avdeev-jbcommented, Nov 18, 2022

@saket Yeah, for now Composable functions for native can be only internal or private. We will fix it in the future.

0reactions
mateuy-devcommented, Nov 18, 2022

@saket I had the same error in my case when using molecule. Its was caused due that composable functions couldn’t be public in native (at least this is what I’ve read). I fixed it changing them to internal (an in my case only expose the flow created by the molecule launch)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downstream pipelines - GitLab Docs
The user triggering the upstream pipeline must be able to start pipelines in the downstream project, otherwise the downstream pipeline fails to start....
Read more >
Need to fail upstream project if downstream ... - Stack Overflow
I want upstream project to fail if downstream project fails. I am using Trigger Parameterized build on other projects option to trigger ...
Read more >
How to Create Upstream and Downstream Jobs in Jenkins
Your browser can't play this video. Learn more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found