开发者

Android library media_jni not found

开发者 https://www.devze.com 2023-01-08 11:44 出处:网络
I\'m trying to replicate this class called MediaMetadataRetriever in my own android project. You can see the class here:

I'm trying to replicate this class called MediaMetadataRetriever in my own android project. You can see the class here: https://android.googlesource.com/platform/frameworks/base/+/master/media/java/android/media/MediaMetadataRetriever.java

In line # 40 you can see: System.loadLibrary("media_jni");

Ho开发者_运维百科w do I get that library? My logcat shows this:

Caused by: java.lang.UnsatisfiedLinkError: Library media_jni not found


This is a JNI class, which is created in C/C++ and included as a SO in your app. The class is loaded during runtime.

Look here https://android.googlesource.com/platform/frameworks/base/+/master/media/jni

0

精彩评论

暂无评论...
验证码 换一张
取 消