-2

Facing crash on Galaxy note 7:

Caused by android.database.sqlite.SQLiteCantOpenDatabaseException: 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 of available file descriptors in one process is 1024 in default. (unable to open database file (code 2062): , while compiling: PRAGMA journal_mode) #################################################################

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Demo Test
  • 11
  • 1

1 Answers1

0

You have opened too many files.

Your code forgets to close all its database objects, or other files.

CL.
  • 173,858
  • 17
  • 217
  • 259