android.database.sqlite.SQLiteCantOpenDatabaseException

unknown error (code 14): Could not open database

Solutions on the web384

  • via GitHub by leleliu008
    , 1 year ago
    unknown error (code 14): Could not open database
  • via GitHub by swheater
    , 1 year ago
    unknown error (code 14): Could not open database
  • via GitHub by qipeng090
    , 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:213) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:197) 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:806) at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:669) at com.facebook.stetho.inspector.database.DefaultDatabaseConnectionProvider.performOpen(DefaultDatabaseConnectionProvider.java:64) at com.facebook.stetho.inspector.database.DefaultDatabaseConnectionProvider.openDatabase(DefaultDatabaseConnectionProvider.java:32) at com.facebook.stetho.inspector.database.SqliteDatabaseDriver.openDatabase(SqliteDatabaseDriver.java:211) at com.facebook.stetho.inspector.database.SqliteDatabaseDriver.getTableNames(SqliteDatabaseDriver.java:121) at com.facebook.stetho.inspector.protocol.module.Database.getDatabaseTableNames(Database.java:108) at java.lang.reflect.Method.invoke(Native Method) at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96) at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67) at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129) at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111) at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87) at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176) at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136) at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44) at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45) at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117) at com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83) at com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84) at com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61) at com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52) at com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63) at com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33) at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36) at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)

    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 year ago
    Once, 1 month ago
    Unknown user
    Once, 1 year ago
    7 times, 1 year ago
    Once, 1 year ago
    17 more bugmates