-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading schema failed: 500 No DB catalog present #629
Comments
Does the app itself work using |
Just tried this using our example and it works fine: File customDirectory = new File(getFilesDir(), "exdb");
boolean created = customDirectory.mkdir() || customDirectory.isDirectory();
if (!created) {
throw new RuntimeException("Could not create directory " + customDirectory);
}
boxStore = MyObjectBox.builder().androidContext(App.this).directory(customDirectory).build(); As suggested, check if your edit: also, update to |
Potential duplicate of #487. -ut |
Closing this issue due to inactivity. 💤 Please re-open with more details or submit a new issue. |
Code: |
@whatshappen I answered in #1169. For all others, see the comment in #865 for potential solutions. |
If I remove the
.directory(sPath)
everything works fineThe text was updated successfully, but these errors were encountered: