HubbellCorp / SweetBlue

BLE on Android the easy way
Apache License 2.0
23 stars 8 forks source link

Failed to resolve: com.idevicesinc:sweetbluerx:4.0.0.5-SNAPSHOT #16

Closed thaiphandinh closed 2 years ago

thaiphandinh commented 2 years ago

image

It works with com.idevicesinc:sweetblue:4.0.0but not com.idevicesinc:sweetbluerx:4.0.0.5-SNAPSHOT. Also com.idevicesinc:sweetbluerx:4.0.0 seems to work but it contains nothing.

I saw #10 was resolved but not sure it is related.

ryanhubbell commented 2 years ago

SNAPSHOT versions are not release versions. They are test versions, and aren't meant for production use.

Are you adding @aar at the end? so com.idevicesinc:sweetbluerx:4.0.0@aar

thaiphandinh commented 2 years ago

Adding @aar files works in my current use.

I've just tried to setup another one following this pulling the library from maven server but failed.

So, if we have to add @aar files to make it works, then https://github.com/HubbellCorp/SweetBlue/wiki/Getting-Started#getting-started and https://github.com/HubbellCorp/SweetBlue/wiki/Getting-Started-Rx should be updated then?

ryanhubbell commented 2 years ago

No, it's a current bug that has a workaround of adding @aar. See https://github.com/HubbellCorp/SweetBlue/issues/9

thaiphandinh commented 2 years ago

No, it's a current bug that has a workaround of adding @aar. See #9

Thank you for pointing this out. I believe this should be mentioned on getting started pages.