io.realm.exceptions.RealmException: ShoppingItem is not part of the schema for this Realm

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

public class ShoppingItem extends RealmObject {

    @PrimaryKey
    private String id;
    private String name;
    private String quantity;
    private boolean completed;
    private long timestamp;  // make type long for easier to handle

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public boolean isCompleted() {
        return completed;
    }

    public void setCompleted(boolean completed) {
        this.completed = completed;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
} // end class