Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio database inspector does not show any databases

I am on Android studio 4.1 beta 1 . I installed my app on my device and opened Database Inspector and nothing shows up . Am I supposed to do anything else ?

enter image description here

I am using room database . I can see the database on device . Why is the database not showing up in database inspector?

like image 395
Manohar Avatar asked Jun 13 '20 04:06

Manohar


People also ask

How do I enable database inspector?

Open the Database Inspector Note: A known issue related to the Android 11 emulator causes apps to crash when connecting to the DB Inspector. To fix the issue, follow these steps. Select View > Tool Windows > App Inspection from the menu bar. Select the Database Inspector tab.

Where is database inspector Android Bumblebee?

To open the Database Inspector in Android Studio, I need to select View > Tool Windows > Database Inspector from the menu bar. Select View > Tool Windows > Database Inspector from the menu bar to open Database Inspector. This brings up the Database Inspector.


1 Answers

In my case, it showed me the same process a lot of times. And none of them worked.

The solution was Invalidating the Cache:

File -> Invalidate Caches/Restart -> Invalidate and restart

After that everything started working again.

like image 102
Jorge Casariego Avatar answered Sep 22 '22 16:09

Jorge Casariego