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 WeathForc
, 1 year ago
unknown error (code 14): Could not open database
via Stack Overflow by Miguel MG
, 1 year ago
unknown error (code 14): Could not open database
via Stack Overflow by Pratik Musale
, 10 months ago
unknown error (code 14): Could not open database
via Stack Overflow by NioShobu
, 2 years ago
unknown error (code 14): Could not open database
via Stack Overflow by durisvk
, 1 year ago
unknown error (code 14): Could not open database
via techforumnetwork.com by Unknown author, 1 year ago
unknown error (code 14): Could not open database
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 android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:709)
at org.osmdroid.tileprovider.modules.SqlTileWriter.(SqlTileWriter.java:44)
at org.osmdroid.tileprovider.modules.MapTileSqlCacheProvider.(MapTileSqlCacheProvider.java:57)
at org.osmdroid.tileprovider.modules.MapTileSqlCacheProvider.(MapTileSqlCacheProvider.java:63)
at org.osmdroid.tileprovider.MapTileProviderBasic.(MapTileProviderBasic.java:88)
at org.osmdroid.tileprovider.MapTileProviderBasic.(MapTileProviderBasic.java:50)
at org.osmdroid.views.MapView.(MapView.java:170)
at org.osmdroid.views.MapView.(MapView.java:200)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.app.Activity.setContentView(Activity.java:1882)
at marine.com.osmsample.MainActivity.onCreate(MainActivity.java:55)
at android.app.Activity.performCreate(Activity.java:5121)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1146)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2358)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2446)
at android.app.ActivityThread.access$600(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5434)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:834)

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.