bytedeco / bytedeco/sample-projects

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

Open
#56 3 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
Java
Stars
228
Forks
173
PR merge metrics
No merged PRs in 30d

Description

Hello,
I couldn't find example how to generate binding for already compiled library. I tried using [gradle-javacpp-android](https://github.com/bytedeco/sample-projects/tree/master/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

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.