android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Vincent Wichmann
, 9 months ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via Stack Overflow by msDead
, 1 month ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via GitHub by iForests
, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via Stack Overflow by Saraz
, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
via GitHub by hdtuan87
, 6 months ago
unable to open database file (code 2062): , while compiling: PRAGMA journal_mode ################################################################# Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) Caused By : Application has opened two many files. Maximum
via GitHub by wangbourne
, 1 year ago
unable to open database file (code 14): , while compiling: PRAGMA journal_mode
android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:634)
at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:320)
at android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:294)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:215)
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:835)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:820)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:723)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:697)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:290)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
at com.google.android.gms.internal.zzatg$zza.getWritableDatabase(Unknown Source)
at com.google.android.gms.internal.zzatg.getWritableDatabase(Unknown Source)
at com.google.android.gms.internal.zzatg.zza(Unknown Source)
at com.google.android.gms.internal.zzatg.zza(Unknown Source)
at com.google.android.gms.internal.zzatw.zzc(Unknown Source)
at com.google.android.gms.internal.zzatu.zzb(Unknown Source)
at com.google.android.gms.internal.zzatu.zza(Unknown Source)
at com.google.android.gms.internal.zzatu$4.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.gms.internal.zzato$zzd.run(Unknown Source)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 4 months ago
11 times, 10 months ago
24 times, 1 year ago
2 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.