When running sqlite3
on my android emulator's database, I tried to run select * from mytable where id = 4
, but I got database is locked
.
I was able to access it earlier today. I'm sure it's the database that my emulator is currently running.
Wait for the process that is using it to finish. It's locked because some operation is synchronized.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.