java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example_2.www.sqlite_00/com.example_2.www.sqlite_00.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database

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 ahmed
, 1 year ago
Unable to start activity ComponentInfo{com.example_2.www.sqlite_00/com.example_2.www.sqlite_00.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
via Stack Overflow by user2438323
, 1 year ago
Unable to start activity ComponentInfo{com.example.quotes/com.example.quotes.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
via Stack Overflow by markbratanov
, 2 years ago
Unable to start activity ComponentInfo{com.sembasys.metrosleepnyc/com.sembasys.metrosleepnyc.ChooseRoute}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
via renren.io by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.sembasys.metrosleepnyc/com.sembasys.metrosleepnyc.ChooseRoute}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
via GitHub by konifar
, 1 year ago
Unable to start activity ComponentInfo{com.taptrip/com.taptrip.activity.HomeActivity}: android.database.sqlite.SQLiteDatabaseLockedException: error code 5: database is locked
via Stack Overflow by DrDieHard
, 2 years ago
Unable to start activity ComponentInfo{com.example.serialtest3/com.example.serialtest3.MainActivity}: java.lang.NullPointerException
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
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 com.example_2.www.sqlite_00.DB_Sqlite.openDatabase(DB_Sqlite.java:47)
at com.example_2.www.sqlite_00.DB_Sqlite.getAllTitles(DB_Sqlite.java:59)
at com.example_2.www.sqlite_00.MainActivity.onCreate(MainActivity.java:35)
at android.app.Activity.performCreate(Activity.java:5104)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)

Users with the same issue

2 times, 3 months ago
Once, 4 months ago
69 times, 4 months ago
2 times, 6 months ago
Once, 6 months ago

Write tip

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