Caused by: java.lang.UnsatisfiedLinkError: No implementation found for int cn.dlc.Baimi.Yyh.FFmpeg.FFmpegKit.run(java.lang.String[]) (tried Java_cn_dlc_Baimi_Yyh_FFmpeg_FFmpegKit_run and Java_cn_dlc_Baimi_Yyh_FFmpeg_FFmpegKit_run___3Ljava_lang_String_2)
at cn.dlc.Baimi.Yyh.FFmpeg.FFmpegKit.run(Native Method)
at cn.dlc.Baimi.Yyh.FFmpeg.FFmpegKit$1.doInBackground(FFmpegKit.java:31)
at cn.dlc.Baimi.Yyh.FFmpeg.FFmpegKit$1.doInBackground(FFmpegKit.java:22)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
上面是报错代码 就在引用os文件
@Override
protected Integer doInBackground(String[]... params) {
return run(params[0]);
}这里报错
仔细检查过![图片说明](https://img-ask.csdn.net/upload/201809/27/1538013181_231349.png)
App的 build.gradle代码如下
sourceSets {
main {
jniLibs.srcDirs = ['libs']
jniLibs.srcDirs = ['src/main/jniLibs']
jni.srcDirs = []
}
}
ndk {
abiFilters "armeabi"
}