在使用greendao 的时候,使用了sqlcipher来加密数据库, 如果想直接打开查看数据库的话, 有点麻烦,
下载了sqliteexpert 编辑器, 看官方文档说,如果想打开加密的数据库需求另外增加dll. 找到了dll 使用后打不开新版的db.
How do I open a password protected database?
You have to install a SQLite library that supports the same encryption algorithm that was used to encrypt the database. See help file for more information.
另寻它路,
DB Browser for SQLite 一个开源的软件,
下载地址:https://sqlitebrowser.org/dl/
下载之后使用 DB Browser (SQLCipher) 打开加密的数据库, 输入口令, 选中 加密的SQLCipherb版本 4 .
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ ( T | o ) ( Y | o | u | t | h | , | T | o ) ( S | i | m | p | l | e | ! ) \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/