当您启动 DependencyProvider 时,它会运行多次,在 logcat 中显示它:
Injector.inject():107
Caused by: java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: No valid DependencyProvider method for
android.database.sqlite.SQLiteDatabase.
Please fix your application to end transactions in progress properly and to close the
database when it is no longer needed.
在为应用程序启动 Activity 并登录时循环几秒钟后,我的 logcat 是:
java.lang.NoClassDefFoundError: android / database / sqlite / $ SQLiteConnection Operation
有没有人经历过这个?
注意:只有安卓版本 4.1.2