I get this error no such table: MEAL (code 1) in the code generated by greendao.
In class i have
@Entity
public class Meal {}
and in generated class
public static final String TABLENAME = "MEAL";
I mention that others class/tables are working and also is the new version of greenDao in which is no need of daoMaster and it is working just with annotations. I cleaned and rebuild, but without succcess. Any ideas?
Thank you and have a good day.
I solved the problem by calling this: MealDao.createTable(daoSession.getDatabase(), false);