🗒️Android:Sqlite3数据库查看方法

比尔盖子

技术分享|2020-7-20|最后更新: 2023-9-7|
type
status
date
slug
summary
tags
category
icon
password

目的

Android开发过程中想查看本地数据库里的数据是否正常,一般可以把Sqlite3文件拷出来查看或者用付费插件,今天介绍一种更加方便的穷逼的快捷查看方法。
仓库地址:https://github.com/amitshekhariitbhu/Android-Debug-Database

功能

  1. 查看所有数据库。
  1. 查看SharedPreferences的所有数据。
  1. 编辑和下载数据库

使用方法

添加依赖

debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'

浏览器访问

http://localhost:8080

结果

notion image
Loading...