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 ?
I am using room database . I can see the database on device . Why is the database not showing up in 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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With