Skip to content

fix android mode did not copy 64bits native lib to gradle libs directory #637

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

Merged
merged 1 commit into from
Apr 28, 2021
Merged

fix android mode did not copy 64bits native lib to gradle libs directory #637

merged 1 commit into from
Apr 28, 2021

Conversation

psksvp
Copy link
Contributor

@psksvp psksvp commented Feb 8, 2021

When I have a library like below in Processing/libraries, Android mode will not copy 64 bit version of the native lib, arm64-v8a and x86_64 to the gradle libs dir. Those native shared libs are needed on android device with 64 bit kernel.


virtualMidiDevice
└── library
    ├── arm64-v8a
    │   └── libmidi.so
    ├── armeabi-v7a
    │   └── libmidi.so
    ├── virtualMidiDevice.jar
    ├── x86
    │   └── libmidi.so
    └── x86_64
        └── libmidi.so

@codeanticode
Copy link
Contributor

@psksvp this is a great contrib, thanks! Can you point me to a library I can use to test this myself? I see virtualMidiDevice in the example you posted, but is not available through the contrib manager in the PDE.

@psksvp
Copy link
Contributor Author

psksvp commented Apr 26, 2021

@codeanticode

The library was manually repackaged from https://github.com/billthefarmer/mididriver into processing library format.

I've put the repackaged at https://github.com/psksvp/mididriver

psksvp

@codeanticode codeanticode merged commit f733377 into processing:master Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants