Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio. "Database Inspector is loading"

For some reason my Database Inspector is not working. It's just showing me "Loading message" for almost an hour (yep, I waited an hour for this). I already tried Invalidate cache and restart, unplug/plug a device, app reinstall. No effect. enter image description here Device File Explorer is working fine, same with Layout Inspector. I can even locate database files enter image description here

But Database Inspector just loading without any progress.

Do you have any idea why this might be happening?

like image 555
Nikita Kalugin Avatar asked Jun 26 '26 08:06

Nikita Kalugin


1 Answers

Ok, I guess I've finally found the answer.

According to this answer - https://stackoverflow.com/a/62725344/7928847 database inspector have some problems with custom ROMs (such as mine LineageOS). I tried using an emulator and database inspector is working as it should with it.

So, in this issue - https://issuetracker.google.com/issues/159432618 Google dev suggests to disable SELinux. Mine now in Enforcing mode. I've switched it to Permissive and now my database inspector is finally working.

like image 127
Nikita Kalugin Avatar answered Jun 27 '26 22:06

Nikita Kalugin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!