Hello.
I have implemented Firebase into an application of mine and released it on Google Play. I have checked the logs and noticed that there is an error being thrown that is caused by Firebase. The log is the following and looks like it is being caused by the Firebase crash reporting service:
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(SQLiteConnection.java)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:861)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:229)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
at com.google.firebase.crash.internal.service.FirebaseCrashReceiverServiceImpl.onHandleIntent(:com.google.android.gms.DynamiteModulesC:1072)
at bsv.onTransact(:com.google.android.gms.DynamiteModulesC:69)
at android.os.Binder.transact(Binder.java:310)
at com.google.firebase.crash.internal.zze$zza$zza.zzI(zze.java)
at com.google.firebase.crash.internal.service.FirebaseCrashReceiverService.onHandleIntent(FirebaseCrashReceiverService.java)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
The error comes only from a few devices (
nuclear-inet, polaris-inet, AZPEN A720 (wing-inet) and polaris-ibt) running Android 4.2.
Any ideas why this problem happens and how to fix it?