问题
When I use realm for Android 0.82.2 I can open default.realm file in Realm Browser 0.95.2 (9). But when I use realm 0.83.0 and try to open default.ream in Browser I get an error:
'default' could not be opened. It may be encrypted, or it isn't in a compatible file format.
I don't use encryption. Realm browser installed from App Store.
回答1:
Realm Java 0.83 brings a breaking change to the file format.
This wasn't adopted yet by the browser. But there is a branch with still experimental support for nullable properties, which you would need to compile yourself for now. Sorry for the inconvenience at this place, we're working on that.
Update:
The latest release is available on the AppStore and precompiled on GitHub as well.
来源:https://stackoverflow.com/questions/33127134/realm-file-could-not-be-opened