Sitemap
Android Developers

Articles on modern tools and resources to help you build experiences that people love, faster and easier, across every Android device.

Illustration of a magnifying glass in front of a computer screen.

Database Inspector

7 min readApr 17, 2020

--

Database Inspector helps you to modify the data just like editing a spreadsheet.
Database Inspector helps you to modify the data just like editing a spreadsheet.

Get started

Click to filter Plant List
Select View > Tool Windows > Database Inspector from the menu bar to open Database Inspector.
Select View > Tool Windows > Database Inspector from the menu bar to open Database Inspector.
Database Inspector window
Database Inspector window
Select the running app process from the dropdown menu.
Select the running app process from the dropdown menu.
Once you select a process, the app databases are listed.
Once you select a process, the app databases are listed.

Query your databases

You can run queries directly from @Query annotation.
You can run queries directly from @Query annotation.
Click Run SQL and select the app database.
You can execute SQL queries in Database Inspector

Modify and debug your database

You can edit your database in Database Inspector
If your app uses Room and observes the query results, you don’t need to restart the app to see the changes.
The app doesn’t seem to handle long text well.
Select Live Updates.
Database Inspector can automatically display changes.
Edits to your databases are visible instantly!

--

--

Android Developers
Android Developers

Published in Android Developers

Articles on modern tools and resources to help you build experiences that people love, faster and easier, across every Android device.

Murat Yener
Murat Yener

Written by Murat Yener

Code geek, Developer Advocate @Google

Responses (18)