getTableName is null
captain-miao opened this issue · 0 comments
captain-miao commented
getFavourite() java.lang.NullPointerException
I think on the first time, there are no tables created in the sql structure and so in FavouriteInfo.java within getFavourite() this function crashes:
FavouriteInfo favouriteInfo = new Select()
.from(FavouriteInfo.class)
.where("address =?", mac)
.executeSingle();
Maybe ActiveAndroid is not being initialized?