[SQLLITE] [Android] How to change database log mode

When I create a database for my application, I have this error:

It is not possible to change database log mode '/ data / data / example / databases / instanceple' from 'wal' to 'PERSIST' because the database is locked. This usually means that there are other open database connections that prevent the database from enabling or disabling write-based logging. Continue without changing the log mode.

I do not know the solution, can you help me?

thanks

+5
source share

Source: https://habr.com/ru/post/1233912/


All Articles