Started seeing this exception on some modules `e: ...
# compose
s
Started seeing this exception on some modules
e: Multiple values are not allowed for plugin option androidx.compose.compiler.plugins.kotlin:metricsDestination
when I try to run composable metrics Don't see any other obvious source where this value would come from aside from my own code. Any ways to debug this properly?
e
first guess: are you on Windows? that snippet won't work (and I don't have Windows to figure out an equivalent)
s
I'm running this on Mac OS, so sadly that's not it
e
hmm. does your path have a
:
or any other special characters in it? or are you somehow applying other command-line arg additions in some modules?
s
I am adding other command line args in common module config, but nothing Compose-related Might be somehow caused by kapt + molecule (at least this is the diff from modules where metrics work) 🤔
That was exactly the reason Removing either
kapt
or molecule plugin solves the issue and metrics run just fine Time to give anvil a go, I guess 🦜
277 Views