android.database.sqlite.SQLiteCantOpenDatabaseException

unknown error (code 14): Could not open database

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web384

  • via GitHub by BishopGIS
    , 1 year ago
    unknown error (code 14): Could not open database
  • unknown error (code 14): Could not open database
  • via GitHub by hdtuan87
    , 2 months ago
    unknown error (code 14): Could not open database
  • Stack trace

    • 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:338) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:232) at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:512) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:206) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:178) at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:902) at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:872) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:709) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:684) at com.hetwan.myapplication.Databasehelper.openDatabase(Databasehelper.java:127) at com.hetwan.myapplication.MainActivity.onCreate(MainActivity.java:65) at android.app.Activity.performCreate(Activity.java:5458) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470) at android.app.ActivityThread.access$900(ActivityThread.java:174) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5593) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    Unknown user
    Once, 11 months ago
    Once, 1 year ago
    7 times, 1 year ago
    Once, 1 year ago
    17 more bugmates