Skip to content

Is it possible to generate binding for already compiled shared library for Android? #56

Open
@mSerdcevas

Description

@mSerdcevas

Hello,
I couldn't find example how to generate binding for already compiled library. I tried using gradle-javacpp-android as example but I couldn't figure out how can I link my shared library.
I have 4 libraries for 4 architectures:

lib
|-arm64-v8a
    |-libtest_library.so
|-armeabi-v7a
    |-libtest_library.so
|-x86
    |-libtest_library.so
|-x86_64
    |-libtest_library.so

test.h

#ifndef UNTITLED1_TEST_H
#define UNTITLED1_TEST_H

class Test {
    int m_val;
public:
    Test();

    int get_val();
};

#endif //UNTITLED1_TEST_H

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions