Inspect Android couchbase lite 2.8.1


How can we inspect and look into the couchbase lite on android device for debugging purpose?


There is no way to do this on an Android device, but if you can move the database folder off the device you can use the cblite command line tool.

In theory if you compile it with the Android toolchain you can run it via Android shell with root access but that’s not been tried.

Thanks for the advice.
By the way, is there anyway to inspect Couchbase lite on emulator in Android Studio?


Same process. Copy the .cbllite2 database file from your emulator using add pull and use the cblite tool linked earlier to inspect it on your local machine
The location of database file is available via getDirectory() on the DatabaseConfiguration associated with your database.