在实际打开应用程序之前更新应用程序时,ActiveAndroid崩溃

时间:2019-06-17 07:54:29

标签: android sqlite crash activeandroid

我一直在研究数据库的Active android库,我正面临着这次崩溃,有些用户经历过同样的崩溃,该崩溃仅登录到Google Play控制台,而Firebase上的崩溃没有崩溃因为该应用在实际初始化Firebase crashlytics之前崩溃。我无法在测试设备上复制相同的内容。发生这次崩溃的原因是什么?谢谢!

java.lang.RuntimeException:




    at android.app.ActivityThread.installProvider (ActivityThread.java:5966)
      at android.app.ActivityThread.installContentProviders (ActivityThread.java:5497)
      at android.app.ActivityThread.handleBindApplication (ActivityThread.java:5436)
      at android.app.ActivityThread.-wrap2 (ActivityThread.java)
      at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1574)
      at android.os.Handler.dispatchMessage (Handler.java:102)
      at android.os.Looper.loop (Looper.java:163)
      at android.app.ActivityThread.main (ActivityThread.java:6237)
      at java.lang.reflect.Method.invoke (Native Method)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:877)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)
    Caused by: android.database.sqlite.SQLiteException: 
      at android.database.sqlite.SQLiteConnection.nativePrepareStatement (Native Method)
      at android.database.sqlite.SQLiteConnection.acquirePreparedStatement (SQLiteConnection.java:889)
      at android.database.sqlite.SQLiteConnection.prepare (SQLiteConnection.java:500)
      at android.database.sqlite.SQLiteSession.prepare (SQLiteSession.java:588)
      at android.database.sqlite.SQLiteProgram.<init> (SQLiteProgram.java:58)
      at android.database.sqlite.SQLiteStatement.<init> (SQLiteStatement.java:31)
      at android.database.sqlite.SQLiteDatabase.executeSql (SQLiteDatabase.java:1675)
      at android.database.sqlite.SQLiteDatabase.execSQL (SQLiteDatabase.java:1606)
      at com.activeandroid.DatabaseHelper.executeLegacySqlScript (DatabaseHelper.java:6)
      at com.activeandroid.DatabaseHelper.executeSqlScript (DatabaseHelper.java:5)
      at com.activeandroid.DatabaseHelper.executeMigrations (DatabaseHelper.java:7)
 at com.activeandroid.DatabaseHelper.onUpgrade (DatabaseHelper.java:3)
      at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked (SQLiteOpenHelper.java:256)
      at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase (SQLiteOpenHelper.java:163)
      at com.activeandroid.Cache.openDatabase (Cache.java:1)
      at com.activeandroid.Cache.initialize (Cache.java:8)
      at com.activeandroid.ActiveAndroid.initialize (ActiveAndroid.java:6)
      at com.activeandroid.content.ContentProvider.onCreate (ContentProvider.java:1)
      at android.content.ContentProvider.attachInfo (ContentProvider.java:1759)
      at android.content.ContentProvider.attachInfo (ContentProvider.java:1734)
      at android.app.ActivityThread.installProvider (ActivityThread.java:5963)

0 个答案:

没有答案