云中漫步 发表于 2016-12-1 09:01:33

adb shell 命令查看android 应用程序 创建的 sqlite 数据库

  通过 adb shell 可以执行sqlite3 命令,android 通过sqlite3tool 提供此功能,比如 .dump 输出数据库表的内容,.schema输出 某个表的存储过程等。
  例子:
  adb connect remote_ip:5555
  adb shell
  //打开应用程序创建的数据库
  sqlite3 /data/data/packetge_name/databases/test.db
  SQLite version 3.3.12
Enter ".help" for instructions
.... enter commands, then quit...
sqlite> .exit

  

  

  
页: [1]
查看完整版本: adb shell 命令查看android 应用程序 创建的 sqlite 数据库