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

Add support for Android <= 7.1.1 #328

Closed
wants to merge 5 commits into from
Closed

Conversation

bm2ilabs
Copy link

This pull request for the issue related to #187
Failed to load dynamic library (dlopen failed: library "libobjectbox-jni.so" not found)

This pull request for the issue related to objectbox#187 
Failed to load dynamic library (dlopen failed: library "libobjectbox-jni.so" not found)
@greenrobot-team
Copy link
Member

greenrobot-team commented Nov 2, 2021

Thanks. Could you provide more details on why you think the added code is necessary to support Android 7.0 and older?

    private static void loadLibrary() {
        if (isLibraryLoaded) {
            return;
        }

        // Loads `libobjectbox-jni.so`.
        System.loadLibrary("objectbox-jni");
        isLibraryLoaded = true;
    }

Update: tested our example on an Android 5.0 emulator and it runs fine without this change.

@greenrobot-team greenrobot-team added the more info required Needs more info to become actionable. Auto-closed if no response. label Nov 2, 2021
@greenrobot-team
Copy link
Member

We shipped an implementation of this, we welcome feedback if it works: #369 (comment)

@greenrobot-team greenrobot-team removed the more info required Needs more info to become actionable. Auto-closed if no response. label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants