This message was deleted.
# community-support
s
This message was deleted.
🧵 1
n
please use a single thread for your messages As for the error:
Copy code
Incompatible because this component declares a component, with the library elements 'aar' and the consumer needed a component, packaged as a jar
your library is publishing an
aar
instead of a
jar
, so gradle can't resolve the dependency. If you do expect the
aar
, you should add
@aar
to your dependency coordinates: e.g.,
io.github.excu101:FOS:1.2.1@aar
v
That would be majorly different though, because then you do not get any dependencies, but only that specific
aar
artifact. So if that would be the solution, it would be better to change the library elements attribute that is requested to be
aar
instead of
jar
, not requesting a specific artifact. But as he said he didn't change anything and it worked, then stopped working, neither seems the correct solution. But it sounds unlikely that this suddenly happens, unless that dependency was released in that time in an incompatible way and a dynamic version is used.
Which is not the case as it was released over a year ago