Failed to open realm in used Realm Studio fixed
Realm is a lightweight database that can replace both SQL and ORM libraries in Android, iOS applications. Realm does not use SQLite as its engine. Instead, it uses core C++ which aims to provide an alternative database library to SQLite.
Realm stores data in tables written in core C++. This allows Realm to access data from multiple languages as well as a variety of queries.
It’s fun and productive using around realm for your mobile apps until you have something wrong with interacting with your collections in the realm database.
You now want to debug the database and it’s tedious to put break-point in your code editor or logging to the console. It is time for Realm Studio to come to the rescue.
However how exciting you are, when you try to import the realm file into Realm Studio it says:
That is clearly the database is currently in use and you need to free it.
Simply close the app that uses the realm file and try to open Realm file again. Now your collections should be appearing.