[英]Can't load vlcjni library: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList couldn't find “libvlcjni.so”
After extending support for Android 6.0+. 扩展了对Android 6.0+的支持。
The app is getting crash while playing video using VLC-SDK . 使用VLC-SDK播放视频时,该应用程序崩溃。
Previously we have make changes in SDK library a little bit as per our project need. 以前,我们根据项目需要在SDK库中进行了一些更改。 Hence can't make changes in vlc-SDK.
因此无法在vlc-SDK中进行更改。
I have tried the solutions as below: 我尝试了以下解决方案:
android.useDeprecatedNdk=true;
android.useDeprecatedNdk=true;
in gradle.properties This means that the compiled abi binary specific for the device being run on is not found in the APK. 这意味着在APK中找不到运行设备专用的已编译abi二进制文件。 As a start check the APK in Android Studio using APK Analyzer (or just drag the APK from inside
app/build/outputs/apk/
to the middle) and see within the lib/
folder the abi's that have been compiled. 首先,使用APK分析器检查Android Studio中的APK(或将APK从
app/build/outputs/apk/
内部拖动到中间),然后在lib/
文件夹中查看已编译的abi。 If your device abi is not listed within the lib/
folder, then that's the cause of your error and should do further checking like within the generated build files if it's missing (usually within .externalNative
). 如果您的设备abi未在
lib/
文件夹中列出,则这是导致错误的原因,如果丢失,则应像在生成的生成文件中一样进行进一步检查(通常在.externalNative
内)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.