-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Error loading class in FFmpegFrameRecorder #81
Comments
Have you set the |
Hello :) Thanks for your reply. I did some research on your answer and I didn't found any way hot to set platform.dependecy with Android Studio. Also I've tried manual installation and downloaded all jars from maven repo. Or is it like I should download only JavaCV jars from maven repo and then download other libraries from somewhere else? Though I think that it is not problem in opencv or ffmpeg because it says it can't find Loader class which is locaten in JavaCPP library. Interesting thing for me is why it is trying to open Loader for com/googlecode/javacpp/Loader instead for org.bytecode... Thank you |
I guess what you're doing is fetching an old version of JavaCPP for some reason. Anyway, what happens when you put all the JAR files manually in your project? |
That is the first thing I tried. Do you think it can be possible that some Thanks
|
No, they were all built together and I verified that they do actually work. Please make sure to provide any information about what happens when you try to follow the instructions. Everything works fine here, so I can't fix what isn't broken! Thank you |
Sorry, that is not what I meant. I wanted to know if I have to update .so files as well when I am updating to newer .jar libraries. For exaple everytime avutil.java is updated, do I usually need to update libavutil.so as well? |
Yes, of course. |
And is there any place where we can download latest .so files compiled for armeabi-v7a please? Or is the only possibility to build it ourselves. Thank you |
It's all given here: |
Oh thank you very much, it is working now :) I've missed that important piece of information that .so files are in .jar files of according library. Your suggestions were very helpful :) Also someone might find this interesting http://stackoverflow.com/questions/20890116/javacv-android-studio-gradle-possible Have a nice day |
Dear guys,
I have a Android Studio project with:
And I'd like to instantiate FFmpegFrameRecorder. But as soon as I call:
The app crashes. There is no exception stack trace or anything, only this error message in LogCat:
E/javacpp﹕ Error loading class com/googlecode/javacpp/Loader.
I have debugged it and it happens in tryLoad() method during the call of:
Do you please have any idea what can be wrong? I was using some old version of JavaCV(with old package, same as is in error) and I need to update it.
Thank you,
bakua
The text was updated successfully, but these errors were encountered: