I am using the latest version of Android Studio. When I run my app on the emulator, I am able to view my database by going through:
tools -> Android Device
The easiest way to see realtime Database are:
You can use a very simple Android Studio's feature Database Inspector. Where you can inspect, query, and modify your app’s databases using the new Database Inspector. For example, you can debug your running app by modifying values in your database and testing those changes on the device in real-time without leaving Android Studio.
To get started, deploy your app to a device running API level 26 or higher and select View > Tool Windows > Database Inspector from the menu bar.
Use the Android Debug Database library
debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
i.e. D/DebugDB: Open http://192.168.232.2:8080 in your browser
the link will be different and open it in the any browser
That's it Enjoy!!!
ADB forward tcp:8080 tcp:8080For more details go to the library.