Open HuskarHuang opened 5 years ago
我貌似也是这个问题】,报错java.lang.UnsatisfiedLinkError: 说是下面的动态库找不到,而且源码中确实没有这些动态库,请问老哥你解决了没有? libLoader.loadLibrary("ijkffmpeg"); libLoader.loadLibrary("ijksdl"); libLoader.loadLibrary("ijkplayer");
我貌似也是这个问题】,报错java.lang.UnsatisfiedLinkError: 说是下面的动态库找不到,而且源码中确实没有这些动态库,请问老哥你解决了没有? libLoader.loadLibrary("ijkffmpeg"); libLoader.loadLibrary("ijksdl"); libLoader.loadLibrary("ijkplayer");
解决了,我ijkplayer代码是在windows下载的,在windows解压复制到ubuntu虚拟机上的,后面直接在ubuntu上安装个git,然后直接用git下载,后面重新编译,问题就解决了
hwh@hwh:~/ijkplayer-android/android$ ./compile-ijk.sh all profiler build: NO /home/hwh/ijkplayer-android/android profiler build: NO [armeabi-v7a] Install : libijkffmpeg.so => libs/armeabi-v7a/libijkffmpeg.so /home/hwh/ijkplayer-android/android profiler build: NO /home/hwh/ijkplayer-android/android profiler build: NO [x86] Prebuilt : libijkffmpeg.so <= /home/hwh/ijkplayer-android/android/contrib/build/ffmpeg-x86/output/ [x86] Install : libijkffmpeg.so => libs/x86/libijkffmpeg.so /home/hwh/ijkplayer-android/android profiler build: NO [x86_64] Prebuilt : libijkffmpeg.so <= /home/hwh/ijkplayer-android/android/contrib/build/ffmpeg-x86_64/output/ [x86_64] Install : libijkffmpeg.so => libs/x86_64/libijkffmpeg.so /home/hwh/ijkplayer-android/android