IO error: lock already held by process
l114624915 opened this issue · 2 comments
l114624915 commented
09-30 17:33:39.023 30131-30167/com.xxx.android W/System.err: com.snappydb.SnappydbException: Failed to open/create database: IO error: lock /data/data/com.xxx.android//appdatabase/LOCK: already held by process
09
guimellon commented
did you figure out how to solve this problem?
davidtcdeveloper commented
That happens to me too. Basically, you can't have multiple threads working in the same database at the same time. Make sure you access the database in the same thread always.