Closed LhtIverson closed 1 year ago
Hi @LhtIverson Judging by the code that creates your configuration object I can see you are using encryption. In Realm v7.0.0 we were using Core v6.0.4. There were some bugs related to encryption in that version, more specifically yours - see https://github.com/realm/realm-core/blob/master/CHANGELOG.md#fixed-106. My recommendation is that you upgrade to a newer Realm version and try again as that bug will likely have been fixed.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
What happened?
io.realm.exceptions.RealmFileException: Opening Realm files of format version 0 is not supported by this version of Realm (Database has an unsupported version and cannot be upgraded
Repro steps
An error is reported when opening the program initialization configuration Could you tell me when this error occurred? The database version upgrade is not involved in the use
Version
Android sdk7.0.0版本
What SDK flavour are you using?
Local Database only
What type of application is this?
Other
Client OS and version
Android系统8.0
Code snippets
/**
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response