bytedeco/javacv

Dynamic Loading generate .so Files

Open

#1,404 opened on Apr 23, 2020

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
help wantedquestion

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, when I use these: implementation group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: "${versions.ffmpeg}-${versions.javacv}", classifier: 'android-arm'

implementation group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: "${versions.ffmpeg}-${versions.javacv}", classifier: 'android-arm64'

implementation group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: "${versions.ffmpeg}-${versions.javacv}", classifier: 'android-x86'

the final apk size will be large! Unfortunately I release my app in local store that doesn't support app bundle based on cpu architectures . Is there any way to dynamic loading the lib? or the generated .so file? for example downloading the dependency or .so files and loading them dynamically

Contributor guide