简体   繁体   中英

Android check SQLite database version via shell?

Following this question is there a way to check the app's current database version via adb shell? Also how do I check the user cookie field mentioned in the question?

要显示数据库文件的用户版本号 (与用户cookie相同),请执行以下SQL命令:

PRAGMA user_version;

To check the sqlite version through shell, follow below commands:

adb -s <deviceId> shell
sqlite3 /data/data/<your app's package name>

Source: https://developer.android.com/studio/command-line/adb

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM