bilibili / bilibili/ijkplayer

Couldn't load ijkffmpeg

Open
#2,170 4 comments 0 reactions 0 assignees View on GitHub
need-more-information
Dominant language
C
Stars
33.2k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

将./compile-ffmpeg.sh all及./compile-ijk.sh all生成的libijkffmpeg.so,libijkplayer.so,libijksdl.so加到jniLibs/cpu_abi/下,在某些手机上有时会出现java.lang.UnsatisfiedLinkError: Couldn't load ijkffmpeg from loader dalvik.system.

![linkerror](https://cloud.githubusercontent.com/assets/8766822/19716746/f8b8078e-9b8f-11e6-8f38-acff12f1d469.jpg)

请帮忙提供下思路,谢谢。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with compile-ffmpeg.sh and compile-ijk.sh, then inspect how the generated libijkffmpeg.so, libijkplayer.so, and libijksdl.so are placed under jniLibs/cpu_abi. Reproduce the intermittent java.lang.UnsatisfiedLinkError on an affected Android device and compare the loading setup across the relevant ABIs. Done means the libraries load reliably without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.