Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caused by: java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avcodec Api level 23 #292

Closed
Iqra786 opened this issue Dec 22, 2015 · 1 comment

Comments

@Iqra786
Copy link

Iqra786 commented Dec 22, 2015

Hi ,
Whenever I set targetSdkVersion 23. following line crash the application with the following log. it works fine with compileSdkVersion 23 and target version 22.

String ffmpeg_link = CameraMethods.getInternalFilePath(this).getAbsolutePath();
recorder = new FFmpegFrameRecorder(ffmpeg_link, 320, 320, 1);

Process: com.PID: 30503
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:309)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avcodec
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:324)
at org.bytedeco.javacpp.Loader.load(Loader.java:413)
at org.bytedeco.javacpp.Loader.load(Loader.java:381)
at org.bytedeco.javacpp.avcodec$AVPacket.(avcodec.java:1650)
at org.bytedeco.javacv.FFmpegFrameRecorder.(FFmpegFrameRecorder.java:149)

@saudet
Copy link
Member

saudet commented Dec 23, 2015

Duplicate of #245

@saudet saudet closed this as completed Dec 23, 2015
poqudrof pushed a commit to poqudrof/javacv that referenced this issue Aug 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants