android.database.sqlite.SQLiteCantOpenDatabaseException

unable to open database file (code 2062) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: ################################################################# 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Caused By : Application has opened two many files. Maximum of available file descriptors in one process is 1024 in default. 01-18 16:36:20.294 1306 1937 E AndroidRuntime: (unable to open database file (code 2062)) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: #################################################################


Solutions on the web383

Solution icon of github
via GitHub by kueda
, 6 months ago
) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Caused By : Application has opened two many files. Maximum of available file descriptors in one process is 1024 in default. 01-18 16:36:20.294 1306 1937 E AndroidRuntime: (unable to open database

Solution icon of stackoverflow
) ################################################################# Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) Caused By : Application has opened two many files. Maximum of available file descriptors in

Solution icon of github
via GitHub by hdtuan87
, 3 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

Solution icon of github
via GitHub by jess-anders
, 4 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

Solution icon of github
via GitHub by spyhunter99
, 7 months ago
(SQLITE_CANTOPEN_EACCES) 01-17 19:07:32.135 12667 12667 E SQLiteDatabase: Caused By : Application has no permission to open the specified database file. 01-17 19:07:32.135 12667 12667 E SQLiteDatabase: (unknown error (code 1806): Could not open database) 01-17 19:07:32.135 12667 12667 E SQLiteDatabase: #################################################################

Solution icon of github
(SQLITE_CANTOPEN_EACCES) 01-17 19:05:42.335 12667 12667 E SQLiteDatabase: Caused By : Application has no permission to open the specified database file. 01-17 19:05:42.335 12667 12667 E SQLiteDatabase: (unknown error (code 1806): Could not open database) 01-17 19:05:42.335 12667 12667 E SQLiteDatabase: #################################################################

Solution icon of github
via GitHub by nsathish41
, 1 year ago
unable to open database file (code 14) at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) 03-07 07:04:09.913 4683 16897 E AndroidRuntime: at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:734)

Solution icon of stackoverflow
################################################################# Error Code : 1806 (SQLITE_CANTOPEN_EACCES) Caused By : Application has no permission to open the

Solution icon of github
via GitHub by alexpopa95
, 3 months ago
unable to open database file(Sqlite code 14),(OS error - 24:Too many open files)

Solution icon of stackoverflow
################################################################# Error Code : 14 (SQLITE_CANTOPEN) Caused By : Unable to open the database file. (unable

Stack trace

  • android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 2062) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: ################################################################# 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: Caused By : Application has opened two many files. Maximum of available file descriptors in one process is 1024 in default. 01-18 16:36:20.294 1306 1937 E AndroidRuntime: (unable to open database file (code 2062)) 01-18 16:36:20.294 1306 1937 E AndroidRuntime: ################################################################# at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method) at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:980) at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836) at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62) at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:143) at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:132) at android.content.ContentResolver.query(ContentResolver.java:521) at android.content.ContentResolver.query(ContentResolver.java:445) at org.inaturalist.android.INaturalistService.syncObservationFields(INaturalistService.java:2313) at org.inaturalist.android.INaturalistService.syncObservations(INaturalistService.java:802) at org.inaturalist.android.INaturalistService.onHandleIntent(INaturalistService.java:758) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.os.HandlerThread.run(HandlerThread.java:61)

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

209 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
3 more bugmates