Skip to content
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

Android Realm issue with Android SDK R and above #4754

Closed
Vijayakumar-KA opened this issue Jun 11, 2021 · 3 comments
Closed

Android Realm issue with Android SDK R and above #4754

Vijayakumar-KA opened this issue Jun 11, 2021 · 3 comments
Assignees

Comments

@Vijayakumar-KA
Copy link

/tmp/realm-java/realm/realm-library/src/main/cpp/realm-core/src/realm/util/file.cpp:1023: [realm-core-10.7.0] Assertion failed: r == 0 && "File::unlock()" with (r, (*__errno())) = [-1, 38]

@jedelbo
Copy link
Contributor

jedelbo commented Jun 16, 2021

Seems like flock is not implemented: @cmelchior can you shed some light on this.

@cmelchior
Copy link
Contributor

It is most likely this issue here: realm/realm-java#6893

It is a change in permissions on Android where access to external storage is now only available using specialized APIs, meaning that we cannot put Realm files there anymore.

@sync-by-unito sync-by-unito bot closed this as completed Sep 7, 2021
@sync-by-unito
Copy link

sync-by-unito bot commented Sep 7, 2021

➤ Jørgen Edelbo commented:

Closing as duplicate

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants