Android Debug Database is a library for inspecting and modifying Android application databases and shared preferences during development.
The tool solves the problem of accessing app data during debugging by exposing databases and shared preferences through a browser-based interface accessible over the local network. It works by running a lightweight HTTP server on the device that serves a web UI, eliminating the need for rooting or complex adb commands. Developers can view all databases and shared preferences, execute SQL queries, edit values directly, add or delete rows and key-value pairs, search and sort data, and download databases for offline inspection. The library includes support for Room in-memory databases and encrypted databases when a password is provided.
Adoption suits developers who need quick, visual access to app data during testing and debugging workflows. The tool works on both emulators and physical devices without requiring root access, making it practical for most development scenarios. It requires only that the device and development machine share a network connection, or that adb port forwarding be configured for USB connections. The library should be added as a debug-only dependency using debugImplementation so it does not ship in release builds.
The project maintains active engagement with its user base through documentation and examples showing setup for both Gradle and Gradle Kotlin DSL configurations. The tool has been refined to handle real-world scenarios including encrypted databases and custom port configuration, indicating responsiveness to practical development needs.