pushtorefresh / storio

Reactive API for SQLiteDatabase and ContentResolver.
Apache License 2.0
2.54k stars 182 forks source link

Error when trying to upgrade to latest version #860

Closed sreejithraman closed 6 years ago

sreejithraman commented 6 years ago

I get these 2 errors:

Failed to resolve: com.pushtorefresh.storio3:sqlite:2.0.0
Failed to resolve: com.pushtorefresh.storio3:sqlite-annotations:2.0.0

Here's what I included in the gradle file:

  compile 'com.pushtorefresh.storio3:sqlite:2.0.0'
  compile 'com.pushtorefresh.storio3:sqlite-annotations:2.0.0'
  annotationProcessor 'com.pushtorefresh.storio3:sqlite-annotations-processor:2.0.0'

What am I doing wrong?

Just fyi, the old ver. still works for me:

  compile 'com.pushtorefresh.storio:sqlite:1.13.0'
  compile 'com.pushtorefresh.storio:sqlite-annotations:1.13.0'
  annotationProcessor 'com.pushtorefresh.storio:sqlite-annotations-processor:1.13.0'
geralt-encore commented 6 years ago

You need to use storio2 instead of storio3. Sorry about the wrong info in readme - it is updated for the next version which has not been released yet.

nikitin-da commented 6 years ago

Sorry guys I hurried to bump version but v3 hasn't published yet I think we should migrate to AGP3 resolve linked issue and add interceptors for content resolver (It will break api too and publishing the third major version for a short time does not sound good) @mohaxspb currently rollback changes in readme #861