Currently the Realm Browser doesn’t support accessing databases directly on the device, so you need to copy the database from the emulator/phone to view it. That can be done by using ADB:

adb pull /data/data/<packagename>/files/ .

That command will pull all Realm files created using Realm.getInstance(new RealmConfiguration.Builder().build()) . The default database is called default.realm.

Note that this will only work on a emulator or if the device is rooted.

--

--

--

iOS Developer, Triple graduated, Passionate, Love workout, blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Android Spannable String example

Day 45 — Improvements: dodging enemy

Modelling UI State on Android

Make Search Super Easy Using Huawei Site Kit and Map Kit in Android KnowMyBoard App[ Navigation…

Create Custom Alert Dialogs in KOTLIN

Having different variants (debug/staging/release) of your app on a single device

Huawei Map Kit — Custom Marker & Draw Polyline (Bike Stations Networks Demo App)

Running test multiple times with different parameters

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mr.Javed Multani

Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger

More from Medium

[Codility] CyclicRotation (Swift)

Journey to became an iOS Developer

MVVM-C Xcode Template to reduce development time

apple/swift-evolution 上關於 guard 的有趣討論