Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在sqlite3我的 android 模拟器的数据库上运行时,我尝试运行select * from mytable where id = 4,但我得到了database is locked.
sqlite3
select * from mytable where id = 4
database is locked
我今天早些时候能够访问它。我确定这是我的模拟器当前正在运行的数据库。
等待使用它的进程完成。它被锁定是因为某些操作是同步的。