ormlite-android
ormlite-android copied to clipboard
Upgrade from 5.0 to 5.1 fails due to DatabaseType Error
When upgrading ORM-Lite in my app from 5.0 to 5.1, we suddenly start to receive the following errors: ' error: method extractTableName in class DatabaseTableConfig<T#2> cannot be applied to given types; String mapTableName = DatabaseTableConfig.extractTableName(Map.class); ^ required: DatabaseType,Class<T#1> found: Class<Map> reason: cannot infer type-variable(s) T#1 (actual and formal argument lists differ in length) where T#1,T#2 are type-variables: T#1 extends Object declared in method <T#1>extractTableName(DatabaseType,Class<T#1>) T#2 extends Object declared in class DatabaseTableConfig ' According to the documentation, this should not happen as the database type should be set internally to SqliteAndroidDatabaseType
I have same errors.