-
Notifications
You must be signed in to change notification settings - Fork 174
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
cannot locate symbol "av_version_info" referenced by "libjniavutil.so in sample project javacv-android-recognize #30
Comments
We'll need to use ReLinker to fix these kinds of errors on some broken devices: |
Error: I added
But there was another error: I/CvCameraPreview: initializeCamera(): successfully set camera #1 |
We need to load "avutil" before "jniavutil".
|
No, still error E/art: dlopen("/data/app/org.bytedeco.javacv.android.recognize.example-2/lib/x86/libjniavutil.so", RTLD_LAZY) failed: dlopen failed: cannot locate symbol "av_version_info" referenced by "libjniavutil.so".. |
Can you provide the message you get before that in the log?
|
This is probably the cause of the error:
We have to use ReLinker before that happens. It won't do any good after. |
The error Start in
in the project, at
Void method; At:
class in
package; that try to load required liberary
SO I used the relinker before
Error at:
Logs:
I/System.out: Loading class org.bytedeco.javacpp.opencv_core
E/AndroidRuntime: FATAL EXCEPTION: main |
Try to call |
The following commit should take care of this issue: bytedeco/javacpp@f1f21ae We just need to update that sample project and it should work fine. Could you prepare a pull request with the update? In any case, thanks for the feedback! |
Error Log is:
Gradle:
The text was updated successfully, but these errors were encountered: