Android Studio SugarORM No Such Table, androidsugarorm
When we use SugarORM today, SQLite always reports no such table (note Android Studio 2.2.2). The Sugar configuration in AndroidManifest. xml is as follows:
Android: name = "com. orm. sugarApp "> <meta-data android: name =" DATABASE "android: value =" sugar_goods.db "/> <meta-data android: name =" VERSION "android: value = "2"/> <meta-data android: name = "QUERY_LOG" android: value = "true"/> <meta-data android: name = "DOMAIN_PACKAGE_NAME" android: value = "com. hh "/>
Then there are various no such tables. Check whether the object class is correct. If the "DOMAIN_PACKAGE_NAME" configuration is correct, the instant Run in setting is also disabled. In short, there is no such table, finally, in StackOverflow, you can find out how to upgrade "VERSION", change "VERSION" from 2 to 3, and then there is no problem. In setting, the instant Run is on.