Search code examples
javaandroidcouchbasecouchbase-lite

couchbase unable to resolve symbol getViewId()


I updated couchbase from 1.0.4 to 1.2.0 and got an error with com.couchbase.lite.view object saying "cannot resolve symbol "couchbaseView.getViewId()". What is the replacement for this?


Solution

  • The newer API supports getting Views by name. Look at the Properties table in the documentation here.

    I'd recommend jumping to v1.3.1 at this point, by the way.