-
Notifications
You must be signed in to change notification settings - Fork 751
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.NoClassDefFoundError: java.lang.ClassNotFoundException: org.bytedeco.javacpp.avutil #52
Comments
Please try to follow the instructions here: |
Ask how to solve |
Following the installation instructions should solve this issue. If they do not, then please provide more information about your device, etc. |
x86 and arm MTK MT6732 ARMv8 |
I need your help on the line app |
Maybe it has something to do with ProGuard: |
NO ProGuard Can compile android arm64-v8a javacv-bin linux-x86_64 libavformat.so.56 android Not recognized |
dlopen("/data/app-lib/com.qd.videorecorder-1/libjniavutil.so") failed: dlopen failed: cannot locate symbol "av_fopen_utf8" referenced by "libjniavutil.so"... |
So you need ARM 64-bit binaries? Could you provide the necessary changes for that? It would help a lot, thanks! |
build error [ERROR] Failed to execute JavaCPP Builder: Could not parse "libavutil/avutil.h": File does not exist ubantu 64 How to compile |
You're going to need to modify and run |
Could you try again with version 1.0 and let me know if you get the same error? Thanks! |
Hi Saudet, I am getting the same error. I am on version 1.0
Running on Raspberry Pi 2 with ubuntu installed on it. Any ideas ? |
@arvind-das see issue #37 |
Thanks but no success here, looks like I need to spend more time one this as this seems to be the issue with most people. Will not make hurry now. After setting up, presets and installing opencv correctly , on building javacv, getting this error:
Also, please let me know which jar should have org.bytedeco.javacpp.avutil class.! |
Hi @saudet , I successfully installed javacpp-presets. OpenCV-3.0.0 and javacv 1.0. The newly generated ffmpeg and other packages on the raspberry pi now contains above missing class "org.bytedeco.javacpp.avutil" . Here is the link to all those generated files residing in my pi's local mvn folder .m2 . But javacv 1.0 is still not building saying the above error that it could not find dependencies . Please note: my raspberry pi is running ubuntu 14.04. I will post out a complete blog on this to make sure things work with others too but I need to run my first. :) |
There's still no file named |
Okay, but isn't it that, required class files should be present in the jars for supporting execution. So what I did is, copied >ffmpeg-2.7.1-1.0.jar to >ffmpeg-2.7.1-1.0-linux-arm.jar which makes it present there and javacv build on pi is a success , but the problem remains same,
Please help me out! |
@arvind-das No that's not going to work. Like I said, see issue #37. |
@saudet Okay, but that is not helping either, I am not sure why these files are not getting generated even if everything compiled correctly. Looks like its time to Yoga, take a fresh breathe and come back for me. :) |
@arvind-das Ok, so what do your modifications to the |
|
That's for OpenCV. You're trying to use FFmpeg. You need to do the same for FFmpeg's |
Oops! my bad, will do that right away, I thought I just need to fix with opencv , platform for rest will be detected automatically. |
If anyone would like to work on binaries for the |
I am gaining some speed with installing cross tool compiler, no success yet but I can see the sun. Will update once my installation is done. |
I am getting crash in Android 5.1, Native platform armeabi-v7a, CPU model MSM8916. The model suggests it should support 32 bit .so files. But it crashes. I downloaded the most recent javacpp release, it has armeabi support only. Is there a release package available for download for 64bit chips? java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avutil |
Could not build android project:
Error:
App config:
|
@viettanbkdn You forgot to include: compile files('libs/opencv-3.1.0-1.2.jar')
compile files('libs/ffmpeg-3.1.2-1.2.jar') |
@saudet sorry but how can I fixed the issue:
Tried to find the solution but got nothing. Could you please help me? |
@viettanbkdn It looks like for some reason you need 64-bit binaries. There isn't currently a build for that. Someone needs to work on that. If you could help with doing that, it would be great! Contributions are welcome. |
Salut, As per today, what is the status with ffmpeg and arm64. I definitly needs them and how could I help? merci |
@nickbernz Help is welcome! |
I need help to build .so files for android-arm64. |
#52) * Fix x265 encoding with FFmpeg on Android (issue bytedeco/javacv#866)
64-bit builds for Android (as the "android-arm64" and "android-x86_64" platforms) are now available, so please give it a try! Binaries for 1.4.1-SNAPSHOT can be downloaded from the snapshot repository: http://bytedeco.org/builds/ |
Artifacts have now been released as version 1.4.1. Enjoy and thanks for your patience! |
I have downloaded all the .jar files and configured Eclipse project to uses DL4J. Code snippet: |
@girishnr1 HDF5 isn't supported on Android. |
The error is on windows machine ( windows 7). |
@girishnr1 Please upgrade to the latest version, and if you're still having problems, please ask on the support channels of Deeplearning4j, not here. |
Part of the mobile phone will appear android SDK :15
The text was updated successfully, but these errors were encountered: