I have the following Entity
public class User { @PrimaryKey private final long id; private String _id; private String userName; private
You need to have setter and getter for each private field else you should make them public, another reason that may cause this error is having two getters or setters for a field.