电脑端借助adb工具调试Androidstudio数据库

1.找到sdk的platforms文件夹

2.cmd cd到目标文件夹

3.adb shell        //运行adb命令

4.su                    //切换成超级管理员

5.ls 

6.cd data/data

7.cd com.exmaple.+你编写程序的包名

8.cd files

9.sqlite3 +数据库名

10.使用sql语句  例如 select * from table

11.一定注意以分号结束;


猜你喜欢

转载自blog.csdn.net/qq_35472880/article/details/80667720