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
Robert Menke
09/30/2020, 6:09 PM
I actually just ran into the same thing. Curious what the solution is.
👀 1
a
Adam Powell
09/30/2020, 6:25 PM
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
shikasd
09/30/2020, 7:34 PM
I think it is fixed in 1.4.20 🙂
r
Robert Menke
09/30/2020, 8:54 PM
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.
Robert Menke
09/30/2020, 9:42 PM
Does the navigation component use synthetics? I have a very small project and can’t find any synthetic usage anywhere 🤔