"14 unable to open database file" error in emulator
Application Type
Mobile, Reactive

When testing our mobile application in browser (chrome and edge) it sometimes throws this error "could not execute statement (14 unable to open database file)" in a console and any local database action are not working correctly after this.  It is not happening on real device. However this prevents our automated scripts from executing. Will appreciate any advice of how to overcome this issue or replicate on purpose.

Hi Mykola,

Edge is, as far as I know, not guaranteed to run mobile apps properly. Always use Chrome. Are these errors occuring in both Chrome and Edge?

yes. We have same result in Chrome.

We are also facing same issue while running our automated scripts via chrome driver. Any resolution ?

On out side the error just went away in a few days. It is happening again from time to time but we were unable to "catch" and replicate it on purpose to have a fix. It seems to be related with folder permissions and temporary file creation.

How did you fix the issue on your side at that time ?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.