Android SQLite开发调试工具 Android Debug Database
生活随笔
收集整理的這篇文章主要介紹了
Android SQLite开发调试工具 Android Debug Database
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Android Debug Database允許以一種非常簡單的方式直接在瀏覽器中查看數據庫
?功能定義:
- See all the databases.
- See all the data in the shared preferences used in your application.
- Run any sql query on the given database to update and delete your data.
- Directly edit the database values.
- Directly edit the shared preferences.
- Directly add a row in the database.
- Directly add a key-value in the shared preferences.
- Delete database rows and shared preferences.
- Search in your data.
- Sort data.
- Download database.
- Debug Room inMemory database.
使用方式:
1.引用Android-Debug-Database
在項目的build.gradle引用Android-Debug-Database , 最新releases查看以下地址
releases address: https://github.com/amitshekhariitbhu/Android-Debug-Database/releases
dependencies {debugImplementation 'com.amitshekhar.android:debug-db:1.0.6' }2.網絡調試
手機和電腦用同一個網段,APK安裝完在瀏覽器輸入?http://手機IP:8080/?, 正常情況下會看到以下界面, 這樣就可以操作SQL lite和Shared preferences的數據了。
3.更改端口
在項目的build.gradle添加PORT_NUMBER參數
buildTypes{debug {resValue("string", "PORT_NUMBER", "8081")} }總結
以上是生活随笔為你收集整理的Android SQLite开发调试工具 Android Debug Database的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MTK OEM Unlock
- 下一篇: Android 系统调试(1) 禁止Se