我很难让 Ormlite 与 Proguard 一起工作,它不断产生新的错误。我目前卡在以下错误消息上,有人有解决方案吗?
" android.database.sqlite.SQLiteException: no such column: region.name (code 1): , while compiling: SELECT
area .* FROM
area INNER JOIN
region ON
area .
region_id =
region .
a ORDER BY region.name ASC
"
Proguard 配置
##---------------Begin: proguard configuration for Ormlite ----------
-libraryjars libs/ormlite-android-4.42.jar
-libraryjars libs/ormlite-core-4.42.jar
-keepattributes Signature
-keep class <packagename>.db.** { *; }
-keep class com.j256.**
-keepclassmembers class com.j256.** { *; }
-keep enum com.j256.**
-keepclassmembers enum com.j256.** { *; }
-keep interface com.j256.**
-keepclassmembers interface com.j256.** { *; }