Code Monkey home page Code Monkey logo

Comments (5)

CarGuo avatar CarGuo commented on May 9, 2024

这是没有对应so,确定你的包所有so文件夹下,so都打包进去了,比如arm64文件夹中存在但是没有ffmpeg的so,或者使用ndk过滤

from gsyvideoplayer.

CherryLu avatar CherryLu commented on May 9, 2024

额 我直接compile 'com.github.CarGuo:GSYVideoPlayer:v1.4.5' 然后就直接用了 不行吗?

from gsyvideoplayer.

CarGuo avatar CarGuo commented on May 9, 2024

在你的主app module下,加上
android {
···
defaultConfig {
···
ndk {
//APP的build.gradle设置支持的SO库架构
abiFilters 'armeabi', 'armeabi-v7a', 'x86'
}
}
}

文/恋猫月亮(简书作者)
原文链接:http://www.jianshu.com/p/86e4b336c17d

from gsyvideoplayer.

CherryLu avatar CherryLu commented on May 9, 2024

谢谢大神 搞定了

from gsyvideoplayer.

JianHaoZhangHB avatar JianHaoZhangHB commented on May 9, 2024

我已经加上了这段
ndk {
//APP的build.gradle设置支持的SO库架构
abiFilters 'armeabi', 'armeabi-v7a', 'x86'
}
但是仍然报错
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.mrhao.fingermapdemo-1/base.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.mrhao.fingermapdemo-1/lib/arm, /data/app/com.example.mrhao.fingermapdemo-1/base.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_dependencies_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_0_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_1_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_2_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_3_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_4_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_5_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_6_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_7_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_8_apk.apk!/lib/armeabi-v7a, /data/app/com.example.mrhao.fingermapdemo-1/split_lib_slice_9_apk.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libijkffmpeg.so"
找不到libijkffmpeg.so
测试机小米Note

from gsyvideoplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.