-2

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?

Hod
  • 2,236
  • 1
  • 14
  • 22

2 Answers2

0

android dont have this method,if you sure this method is define,you could try to clean project

R Probaby
  • 45
  • 5
  • its a couchbase method. It was available with old versions of couchbase, like 1.0.4 . But they seem to have removed it from version 1.2.0. – Ankur Adlakha Oct 10 '16 at 10:01
0

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.

Hod
  • 2,236
  • 1
  • 14
  • 22