I am trying to add Compose to an existing project,...
# compose
m
I am trying to add Compose to an existing project, however i get this error:
Copy code
java.lang.AssertionError: Unbound symbols not allowed

Execution failed for task ':app:compileOmbordsalgStagingDebugKotlin'.
> Internal compiler error. See log for more details
Runtime JAR files in the classpath should have the same version. These files were found in the classpath: And then a loooooong list of Unbound public symbol for public kotlinx.android.synthetic...... Anyone know how to fix this?
r
I actually just ran into the same thing. Curious what the solution is.
👀 1
a
iirc this is because synthetics and the kotlinc IR backend don't agree with each other; not sure it's compose-specific but since compose requires the IR backend, the two can't be used together
😭 1
s
I think it is fixed in 1.4.20 🙂
r
Hmm I didn’t have synthetics in my case. Haven’t been able to debug it yet. Good to know there’s a fix in a future version. That’s 1.4.20 of the compiler right @shikasd.
Does the navigation component use synthetics? I have a very small project and can’t find any synthetic usage anywhere 🤔
i
Navigation doesn't use synthetics, no