Exception android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 2062): Could not open database ################################################################# 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. (unknown error (code 2062): Could not open database) #################################################################
Use one instance of DatabaseHelper instead of creating a new one each time to fix it: http://stackoverflow.com/a/36460895/4026792. Will be done in the
feat/mvp
branch