当我在 OrmLite 的项目中使用 Proguard 时。我收到此错误:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.package.name/com.package.name.activities.StartActivity}:
java.lang.IllegalStateException: Could not find OpenHelperClass because none of the generic parameters of class class com.package.name.activities.StartActivity extends OrmLiteSqliteOpenHelper. You should use getHelper(Context, Class) instead.
我已经尝试了Proguard 和 OrmLite on Android和其他资源的所有建议,但没有结果